Bug 1155 – GDC crash (internal compiler error: in mostly_copy_tree_r, at gimplify.c:678)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-04-16T16:49:00Z
Last change time
2015-06-09T01:31:17Z
Keywords
ice-on-valid-code
Assigned to
dvdfrdmn
Creator
fvbommel

Comments

Comment #0 by fvbommel — 2007-04-16T16:49:40Z
Some simple code that crashes GDC: ==== $ cat test.d void foo() { int[] arr = [0]; // to make sure below access is valid arr[$-1] -= 1; } $ gdc -c test.d test.d: In function ‘foo’: test.d:3: internal compiler error: in mostly_copy_tree_r, at gimplify.c:678 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ===== Version: v0.23/x86_64 (binary package from sourceforge) on Ubuntu Edgy
Comment #1 by thomas-dloop — 2007-04-25T12:58:00Z
Comment #2 by dvdfrdmn — 2007-09-23T23:08:08Z
Fixed in svn rev 170 / release 0.25