[Issue 7544] New: ICE(interpret.c) Catching an exception with a null catch block
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 19 04:10:42 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7544
Summary: ICE(interpret.c) Catching an exception with a null
catch block
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Keywords: CTFE, ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: yebblies at gmail.com
ReportedBy: yebblies at gmail.com
--- Comment #0 from yebblies <yebblies at gmail.com> 2012-02-19 23:10:41 EST ---
This only happens when the catch block is null - when the body statement is
dropped by semantic. There are probably other ways to get this.
int test7544()
{
try { throw new Exception(""); }
catch (Exception e) static assert(1);
return 1;
}
static assert(test7544());
--
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