[Bug 127] New: ICE on empty static array

via D.gnu d.gnu at puremagic.com
Tue May 27 11:17:07 PDT 2014


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

            Bug ID: 127
           Summary: ICE on empty static array
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: ibuclaw at gdcproject.org

Minimal Test:

int[0] a;     // OK
int[1][0] b;  // OK
int[0][1] c;  // ICE

bug.d:1: internal compiler error: Segmentation fault
0xa4a8af crash_signal
    ../../gcc/toplev.c:337
0x681d10 tree_check
    ../../gcc/tree.h:2712
0x681d10 dt_container(tree_node**, Type*, tree_node*)
    ../../gcc/d/d-todt.cc:151
0x6840a8 TypeSArray::toDtElem(tree_node**, Expression*)
    ../../gcc/d/d-todt.cc:973
0x6769c9 VarDeclaration::toObjFile(int)
    ../../gcc/d/d-objfile.cc:803
0x67ad6e Module::genobjfile(int)
    ../../gcc/d/d-objfile.cc:1477
0x6654a7 d_parse_file()
    ../../gcc/d/d-lang.cc:1125
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140527/ed80e09b/attachment.html>


More information about the D.gnu mailing list