The following code generates this internal compiler error:
internal compiler error: in estimate_num_insns_1, at tree-inline.c:1902
void test()
{
class A
{
}
// The following line is what causes the error
A a = new A();
}
This fails with gdc-0.24, but works with dmd-0.120 on Fedora 8.
Comment #1 by ibuclaw — 2010-08-05T15:03:17Z
I cannot reproduce this using gdc 0.25 with gcc-4.1.2 and gcc-4.3.5.