[Issue 1689] New: Segfaults for nested array allocation with GDC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 23 21:59:43 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1689

           Summary: Segfaults for nested array allocation with GDC
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: mariusmuja at gmail.com


The following code produces a Segfault at runtime when compiled with GDC:

void main()
{
        float[][] bar;
        bar = new float[][](2,3);
}


-- 



More information about the D.gnu mailing list