March 18, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1930

           Summary: Internal compiler error: constructing classes defined
                    inside functions
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: dmd@mailinator.com


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.


-- 

August 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1930


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #1 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-05 15:03:17 PDT ---
I cannot reproduce this using gdc 0.25 with gcc-4.1.2 and gcc-4.3.5.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------