digitalmars.D.bugs - [Issue 13504] New: ICE(backend/cgelem.c 2418) with "-O -cov"
- via Digitalmars-d-bugs (26/26) Sep 20 2014 https://issues.dlang.org/show_bug.cgi?id=13504
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 puremagic.com Reporter: sinkuu 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 --
Sep 20 2014