Bug 84 – Regression: Internal error when assigning to multidimensional array
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-04-04T04:17:00Z
Last change time
2014-02-15T02:08:45Z
Assigned to
bugzilla
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2006-04-04T04:17:05Z
This worked correctly in DMD 0.150.
In 0.151 it causes:
Internal error: ..\ztc\type.c 308
void main() {
real [5][5] m;
m[1][1..3] = 0;
}
Comment #1 by thomas-dloop — 2006-04-06T00:05:19Z
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[email protected] schrieb am 2006-04-04:
> http://d.puremagic.com/bugzilla/show_bug.cgi?id=84
> This worked correctly in DMD 0.150.
> In 0.151 it causes:
> Internal error: ..\ztc\type.c 308
>
> void main() {
> real [5][5] m;
> m[1][1..3] = 0;
> }
Added to DStress as
http://dstress.kuehne.cn/run/b/bug_type_308_A.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFENDe23w+/yD4P9tIRAgL1AKCK/bwaekjGam4ljw0keHwnfH6i6ACfZJ/O
qqwDlfIoxe9ro0R+8uWaJPc=
=3MGc
-----END PGP SIGNATURE-----