rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look for (const_int 0) in X not just INTVAL.

Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>

	* config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
	  for (const_int 0) in X not just INTVAL.

From-SVN: r49902
This commit is contained in:
Alan Matsuoka 2002-02-20 18:19:38 +00:00 committed by Alan Matsuoka
parent 6e5bb5ad40
commit 37fa124a73
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
* config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
for (const_int 0) in X not just INTVAL.
2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/extend.texi: Avoid or reduce overfull hboxes.

View File

@ -1974,7 +1974,8 @@ typedef struct rs6000_args
&& GET_CODE (XEXP (X, 0)) == REG \
&& INT_REG_OK_FOR_BASE_P (XEXP (X, 0), (STRICT)) \
&& LEGITIMATE_ADDRESS_INTEGER_P (XEXP (X, 1), 0) \
&& (! ALTIVEC_VECTOR_MODE (MODE) || INTVAL (X) == 0) \
&& (! ALTIVEC_VECTOR_MODE (MODE) \
|| (GET_CODE (XEXP (X,1)) == CONST_INT && INTVAL (XEXP (X,1)) == 0)) \
&& (((MODE) != DFmode && (MODE) != DImode) \
|| (TARGET_32BIT \
? LEGITIMATE_ADDRESS_INTEGER_P (XEXP (X, 1), 4) \