October 16, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=81

             Bug #: 81
           Summary: ICE in gimple_expand_cfg
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw@gdcproject.org
        ReportedBy: hsteoh@quickfur.ath.cx


Code:

------module1.d------
interface VertexList { }

------module2.d------
import module1;
class MyClass {
        VertexList vertices() {
                class _VList : VertexList {
                        _VList save() { return new _VList; }
                }
                return new _VList;
        }
}

-----------------------

Compile command-line: gdc -I. -c -o module2.o module2.d

Compiler output:
------
module2.d: In member function ‘module2.MyClass.vertices._VList.save’:
module2.d:5: internal compiler error: in gimple_expand_cfg, at cfgexpand.c:4575
0x697643 gimple_expand_cfg
        ../../gcc-4.8.1-svn/gcc/cfgexpand.c:4575
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
------

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