digitalmars.D.bugs - [Issue 7544] New: ICE(interpret.c) Catching an exception with a null catch block
- d-bugmail puremagic.com (27/27) Feb 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7544
- d-bugmail puremagic.com (10/10) Feb 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7544
- d-bugmail puremagic.com (9/9) Feb 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7544
- d-bugmail puremagic.com (8/8) Feb 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7544
- d-bugmail puremagic.com (10/10) Feb 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7544
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 gmail.com
ReportedBy: yebblies gmail.com
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: -------
Feb 19 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7544
yebblies <yebblies gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
https://github.com/D-Programming-Language/dmd/pull/737
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 19 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7544 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4a36b2d3c15c83b47d39173ac150d1fad500273c Issue 7544 - ICE(interpret.c) Catching an exception with a null catch block -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 19 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7544 Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdde56fbd14989d099ebeeeb0b5a2ad1377e3979 fix Issue 7544 - ICE(interpret.c) Catching an exception with a null catch block -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 19 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7544
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |FIXED
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 19 2012









d-bugmail puremagic.com 