Bug 736 – use of compile time computed const as array dimension causes compiler to crash

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2006-12-25T06:25:00Z
Last change time
2015-06-09T05:15:21Z
Keywords
ice-on-valid-code
Assigned to
dvdfrdmn
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-12-25T06:25:17Z
# # const uint a = 4000; # const uint b = 1024; # const uint arity= a * b; # # struct Leaf{ # int[arity] data; # } # test cases: http://dstress.kuehne.cn/run/c/const_28_E.d http://dstress.kuehne.cn/run/c/const_28_F.d
Comment #1 by dvdfrdmn — 2007-09-23T18:12:41Z
This was fixed some time ago... maybe by a DMD update.