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

           Summary: Wrong sized array plus pragma crashes compiler
           Product: D
           Version: 2.041
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2010-03-13 04:48:43 PST ---
This crashes the compiler:

enum int[1] a = [0, 1];
pragma(msg, a);


The compiler prints:
Assertion failure: 'j < edim' on line 445 in file 'init.c'

See related bug 3948 too. I don't know if the cause is the same.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to