[Issue 4158] New: switch segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 4 19:49:21 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4158
Summary: switch segfault
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: k-foley at onu.edu
--- Comment #0 from Kyle Foley <k-foley at onu.edu> 2010-05-04 19:49:19 PDT ---
DMD 2.045
int main(string[] args)
{
//switch (0) { } // segfaults
switch (0) { case 0: }
//switch (0) { case 1: } // segfaults
switch (0) { case 1: default: }
switch (0) { default: }
return 0;
}
---
Seems to segfault when none of the labels inside the switch are jumped to.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list