March 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1019

           Summary: regression: Error: array index X is out of bounds [0 ..
                    Y]
           Product: D
           Version: 1.007
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


# int main(){
#    byte[5] a;
#    a[100]=3;
#
#    return 0;
# }

dmd -c test.d
Error: array index 100 is out of bounds [0 .. 5]

The line number and file/module information is missing.

test cases: http://dstress.kuehne.cn/nocompile/bounds_checking_01.d http://dstress.kuehne.cn/nocompile/bounds_checking_02.d http://dstress.kuehne.cn/nocompile/bounds_checking_03.d http://dstress.kuehne.cn/nocompile/bounds_checking_04.d http://dstress.kuehne.cn/nocompile/bounds_checking_05.d


-- 

March 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1019


thomas-dloop@kuehne.cn changed:

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




------- Comment #1 from thomas-dloop@kuehne.cn  2007-03-12 01:23 -------
Fixed in DMD-1.009


--