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: [email protected]
Reporter: [email protected]
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
--