[Issue 15450] ICE during CTFE of legit function
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Dec 16 06:11:28 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15450
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|regression |major
--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to ag0aep6g from comment #2)
> 2.069.2 gives "Error: cannot interpret <continue> at compile time", which is
> at least not an ICE.
>
> git head (6cd7173) gives "core.exception.AssertError at dinterpret.d(1008):
> Assertion failure", making this a diagnostic regression.
>From 2.069.0, released dmd binary is compiled with -release, so all of internal
asserts won't hit.
Note that, ICE also happens with 2.068, like:
Assertion failure: '!e || (e->op != TOKcontinue && e->op != TOKbreak)' on line
1034 in file 'interpret.c'
abnormal program termination
Therefore, this is not a regression from 2.069.
--
More information about the Digitalmars-d-bugs
mailing list