This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54041] [4.7/4.8 regression] -mshort ICE in convert_memory_address_addr_space, at explow.c:327
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jul 2012 13:15:43 +0000
- Subject: [Bug middle-end/54041] [4.7/4.8 regression] -mshort ICE in convert_memory_address_addr_space, at explow.c:327
- Auto-submitted: auto-generated
- References: <bug-54041-4@http.gcc.gnu.org/bugzilla/>
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.