[Issue 13504] New: ICE(backend/cgelem.c 2418) with "-O -cov"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 04:18:39 PDT 2014


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

          Issue ID: 13504
           Summary: ICE(backend/cgelem.c 2418) with "-O -cov"
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice, ice-on-valid-code
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: sinkuu at aol.jp

bool func(T)()
{
    return true;
}

void main()
{
    assert(func!int() || int.sizeof);
}


This code produces an ICE when compiled with -O and -cov. 

$ dmd -O -cov -c ice.d
Internal error: backend/cgelem.c 2418

--


More information about the Digitalmars-d-bugs mailing list