[Issue 4158] switch segfault

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4158 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 4158] switch segfault

2010-05-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4158 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4158] switch segfault

2010-05-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4158 --- Comment #2 from Kyle Foley k-fo...@onu.edu 2010-05-05 14:21:13 PDT --- (In reply to comment #1) It doesn't actually segfault, it executes a HALT instruction. If there is no default in a switch, the compiler inserts one of the form: