September 20, 2014 [Issue 13504] New: ICE(backend/cgelem.c 2418) with "-O -cov" | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation