[Issue 11540] [ICE] CTFE segfault with try-catch-finally and goto
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 18 10:01:10 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11540
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |CTFE, pull
CC| |yebblies at gmail.com
Summary|[ICE] Unknown segfault |[ICE] CTFE segfault with
|during CTFE |try-catch-finally and goto
--- Comment #3 from yebblies <yebblies at gmail.com> 2013-11-19 05:01:00 EST ---
Reduced - the destructor generates a try-finally which is not searched properly
for the goto'd label.
static assert(()
{
try
{
goto label;
label: ;
}
finally
{
}
return 1;
}());
static assert(()
{
try
{
goto label;
label: ;
}
catch
{
}
return 1;
}());
https://github.com/D-Programming-Language/dmd/pull/2820
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list