www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 61] New: LTO: internal compiler error: in build_dtype, at

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 gdcproject.org
        ReportedBy: Marco.Leise 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.
Jun 08 2013