[Issue 16107] [ICE] - Internal error: backend/cgcod.c 2297
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 23 04:29:20 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=16107
Mike Franklin <slavo5150 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slavo5150 at yahoo.com
--- Comment #7 from Mike Franklin <slavo5150 at yahoo.com> ---
> bool check()
> {
> bool result = false;
>
> result |= false; // result = result | ... : OK
> if (result) goto ret; // remove this line : OK
>
> result |= false; // result = result | ... : OK
> if (result) {} // remove this line : OK
>
> ret: return true;
> }
>
> enum e = check();
According to https://run.dlang.io/is/98Uf5T, this has been working since
2.067.1.
--
More information about the Digitalmars-d-bugs
mailing list