[Issue 1666] New: 64-bit gdc programs cannot allocate large arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 13 09:18:40 PST 2007


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

           Summary: 64-bit gdc programs cannot allocate large arrays
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: david at acz.org


The following program segfaults using "prerelease gdc 0.25" from Ubuntu Gutsy
x86_64:

void main()
{
    char x[];
    x.length = 3_000_000_000;
}


-- 



More information about the D.gnu mailing list