[Issue 3769] New: Segfault using invalid case (D1 only)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 4 05:36:58 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3769
Summary: Segfault using invalid case (D1 only)
Product: D
Version: 1.020
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: critical
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2010-02-04 05:36:47 PST ---
This code was correctly rejected in DMD1.010, but segfaults in 1.020 and later,
including 1.056. I'm intentionally not marking it as regression since it is
ancient and cannot exist in old code. Although this test case is D1 only, there
are related bugs in D2.
-------
const int[ 19 ] buggy_3763 = [ 2 ];
void bugzilla3763()
{
switch(2) {
case buggy_3763[1]:
}
}
--
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