November 15, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=513

           Summary: using struct initializer on static array crashes the
                    compiler
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: mslenc@gmail.com


==== case1.d ====
void foo() {
    int[1] barbar = { 1 };
}

==== case2.d ====
int[1] barbar = { 1 };


>dmd case1.d
Assertion failure: '0' on line 219 in file 'init.c'

abnormal program termination

>dmd case2.d
dmd.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

in some recent previous version (not sure which one, though), case2 correctly reported what the error is, and case1 still crashed.


-- 

December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=513


deewiant@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from deewiant@gmail.com  2006-12-03 03:45 -------
Fixed in DMD 0.176.


--