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:
Hans-Peter Nilsson 2002-07-01 23:18:33 +00:00 committed by Hans-Peter Nilsson
parent 2a91582c04
commit 9a81c5b711
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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; \