www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 81] New: ICE in gimple_expand_cfg

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


           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 =E2=80=98module2.MyClass.vertices._VList.save=
=E2=80=99:
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.
------

--=20
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are watching all bug changes.=
Oct 16 2013