[Issue 3304] New: Segfault using 'is' with a pointer enum.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 7 07:47:25 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3304
Summary: Segfault using 'is' with a pointer enum.
Product: D
Version: 2.022
Platform: Other
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2009-09-07 07:47:24 PDT ---
This is the first bug from bug 3293.
Test case:
---
enum bug3303 = cast(void*)0xFEFEFEFE;
static assert(bug3303 is bug3303);
---
Crashes because e->optimize() is returning NULL. Bug has existed in at least
2.022 to 2.032.
--
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