This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53249] [4.8 Regression] Bootstrap failure
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 May 2012 14:54:10 +0000
- Subject: [Bug bootstrap/53249] [4.8 Regression] Bootstrap failure
- Auto-submitted: auto-generated
- References: <bug-53249-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53249
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-06 14:54:10 UTC ---
Can you just use GET_MODE (mem) instead of
targetm.addr_space.address_mode (MEM_ADDR_SPACE (mem))
when you change plus_constant (mem, offset)?
At least, you should allow a backend to do
plus_constant (GET_MODE (mem), mem, offset)
instead of
mode = targetm.addr_space.address_mode (MEM_ADDR_SPACE (mem))
plus_constant (mode, mem, offset)