[Bug 61] New: LTO: internal compiler error: in build_dtype, at d/d-codegen.h:223

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Jun 8 22:28:17 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=61

             Bug #: 61
           Summary: LTO: internal compiler error: in build_dtype, at
                    d/d-codegen.h:223
    Classification: Unclassified
           Product: GDC
           Version: 4.7.x
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: Marco.Leise at gmx.de


The following crashes the compiler when compiled with: gdc -flto -O1

--- 8< -------------

struct AAA
{
    void a() { }
    void b() { }
}

struct BBB
{
    AAA other;

    void foo()
    {
        bar();
    }

    void bar()
    {
        try
            other.a();
        catch
            other.b();
    }

}

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list