www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 127] New: ICE on empty static array

Date: Tue, 27 May 2014 19:17:07 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"


            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 gdcproject.org
          Reporter: ibuclaw 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
0x681d10 tree_check
0x681d10 dt_container(tree_node**, Type*, tree_node*)
0x6840a8 TypeSArray::toDtElem(tree_node**, Expression*)
0x6769c9 VarDeclaration::toObjFile(int)
0x67ad6e Module::genobjfile(int)
0x6654a7 d_parse_file()
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.
May 27 2014