[Bug middle-end/54041] [4.7/4.8 regression] -mshort ICE in convert_memory_address_addr_space, at explow.c:327
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 20 13:15:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54041
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-20
Known to work| |4.6.4
Summary|-mshort ICE in |[4.7/4.8 regression]
|convert_memory_address_addr |-mshort ICE in
|_space, at explow.c:327 |convert_memory_address_addr
| |_space, at explow.c:327
Ever Confirmed|0 |1
Known to fail| |4.7.1
--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> 2012-07-20 13:15:43 UTC ---
Before 4.7 the array reference was expanded to (int *) &r + (unsigned int)
((unsigned int) i * 2), now it is preserved as &r[i], causing the ADDR_EXPR to
contain ARRAY_REF of (r,i) where it previously contained r only.
More information about the Gcc-bugs
mailing list