mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 08:39:01 +08:00
re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)
PR target/7177 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number of indirections for register inside sign-extended mem part. From-SVN: r55163
This commit is contained in:
parent
2a91582c04
commit
9a81c5b711
@ -1,3 +1,9 @@
|
||||
2002-07-01 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
PR target/7177
|
||||
* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
|
||||
of indirections for register inside sign-extended mem part.
|
||||
|
||||
2002-07-01 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* tree.h: Modify builtin_function interface to take an extra
|
||||
|
@ -1291,13 +1291,13 @@ struct cum_args {int regs;};
|
||||
something_reloaded = 1; \
|
||||
} \
|
||||
\
|
||||
if (REG_P (XEXP (XEXP (X, 0), 0)) \
|
||||
&& (REGNO (XEXP (XEXP (X, 0), 0)) \
|
||||
if (REG_P (XEXP (XEXP (XEXP (X, 0), 0), 0)) \
|
||||
&& (REGNO (XEXP (XEXP (XEXP (X, 0), 0), 0)) \
|
||||
>= FIRST_PSEUDO_REGISTER)) \
|
||||
{ \
|
||||
/* First one is a pseudo - reload that. */ \
|
||||
push_reload (XEXP (XEXP (X, 0), 0), NULL_RTX, \
|
||||
&XEXP (XEXP (X, 0), 0), NULL, \
|
||||
push_reload (XEXP (XEXP (XEXP (X, 0), 0), 0), NULL_RTX, \
|
||||
&XEXP (XEXP (XEXP (X, 0), 0), 0), NULL, \
|
||||
GENERAL_REGS, \
|
||||
GET_MODE (X), VOIDmode, 0, 0, OPNUM, TYPE); \
|
||||
something_reloaded = 1; \
|
||||
|
Loading…
Reference in New Issue
Block a user