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

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to