http://d.puremagic.com/issues/show_bug.cgi?id=5580
Summary: [64-bit] String switch statements broken in 64-bit mode Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-02-14 18:14:05 PST --- The following code hits the assert(0) when -release is disabled or segfaults when -release is enabled when compiled on Linux in 64-bit mode: void main(string[] args) { auto str = "foo"; switch(str) { case "foo": break; default: assert(0); } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------