[Issue 1385] New: Stack Overflow when compiling large file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 30 09:03:18 PDT 2007


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

           Summary: Stack Overflow when compiling large file
           Product: D
           Version: 2.003
          Platform: PC
               URL: http://mainia.de/large_parser.d
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jascha at mainia.de


DMD crashes with a stack overflow when compiling this file:
http://mainia.de/large_parser.d

It's probably caused by a large array literal.

Smaller parsers compile fine, for example:
http://mainia.de/small_parser.d
(this one needs http://mainia.de/container.d)


-- 



More information about the Digitalmars-d-bugs mailing list