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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 1 02:01:14 PDT 2016


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g at gmail.com

--- Comment #2 from ag0aep6g at gmail.com ---
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();
----

--


More information about the Digitalmars-d-bugs mailing list