[Issue 16107] [ICE] - Internal error: backend/cgcod.c 2297

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 1 11:41:59 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16107

--- Comment #3 from b2.temp at gmx.com ---
(In reply to ag0aep6g from comment #2)
> Reduced further:
> 
> ----
> 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();
> ----

OMG, Can someone fix this fast PLZ ? I don't know if you'll agree but this is
not some "super sharp" code, just a bunch of OrEqual !

--


More information about the Digitalmars-d-bugs mailing list