← Back to index
|
Original Bugzilla link
Bug 1032 – regression: -g -O run/o/odd_bug_06_B.d
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-03-07T17:07:00Z
Last change time
2015-06-09T05:14:50Z
Assigned to
dvdfrdmn
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2007-03-07T17:07:40Z
# struct Foo{ # float[4] array = 1.0f; # int count = 10; # } # # int main(){ # Foo f; # # if(f.count != 10){ # assert(0); # } # # if(f.array.length != 4){ # assert(0); # } # if(f.array[0] != 1.0f){ # assert(0); # } # if(f.array[1] != 1.0f){ # assert(0); # } # if(f.array[2] != 1.0f){ # assert(0); # } # if(f.array[3] != 1.0f){ # assert(0); # } # # return 0; # } gdmd-0.23 -g -O run/o/odd_bug_06_B.d Error: AssertError Failure run/o/odd_bug_06_B.d(28) test case:
http://dstress.kuehne.cn/run/o/odd_bug_06_B.d
Comment #1
by dvdfrdmn — 2007-07-16T20:02:35Z
Fixed in svn r127 / release 0.24