← Back to index
|
Original Bugzilla link
Bug 1689 – Segfaults for nested array allocation with GDC
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-11-23T23:59:00Z
Last change time
2015-06-09T05:15:01Z
Keywords
wrong-code
Assigned to
ibuclaw
Creator
mariusmuja
Comments
Comment #0
by mariusmuja — 2007-11-23T23:59:42Z
The following code produces a Segfault at runtime when compiled with GDC: void main() { float[][] bar; bar = new float[][](2,3); }
Comment #1
by thomas-dloop — 2008-02-25T05:06:57Z
Added to DStress as
http://dstress.kuehne.cn/run/a/array_initialization_26_F.d
Comment #2
by ibuclaw — 2010-08-10T16:23:47Z
Fixed in hg commit 183 / release 0.25