m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint from accepting 's' constraints if flag_pic.

gcc/
	* config/m68k/m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint
	from accepting 's' constraints if flag_pic.

From-SVN: r120961
This commit is contained in:
Richard Sandiford 2007-01-19 13:40:21 +00:00 committed by Richard Sandiford
parent 379cd895c1
commit fe0cc77654
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-01-19 Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint
from accepting 's' constraints if flag_pic.
2007-01-19 Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k.md (bordered, bunordered, buneq, bunge, bungt)

View File

@ -526,7 +526,7 @@ extern enum reg_class regno_reg_class[];
|| GET_CODE (XEXP (OP, 0)) == CONST)) \
: \
(CODE) == 'T' \
? ( !TARGET_PCREL \
? (!flag_pic \
&& (GET_CODE (OP) == SYMBOL_REF \
|| GET_CODE (OP) == LABEL_REF \
|| GET_CODE (OP) == CONST)) \