From: Richard Sandiford Date: Fri, 19 Jan 2007 13:40:21 +0000 (+0000) Subject: m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint from accepting 's' constraints... X-Git-Tag: releases/gcc-4.3.0~7379 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe0cc7765429f8fe22005638c7d42f550e309ea4;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba4a8b5ead58..4b62eb41e435 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-01-19 Richard Sandiford + + * config/m68k/m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint + from accepting 's' constraints if flag_pic. + 2007-01-19 Richard Sandiford * config/m68k/m68k.md (bordered, bunordered, buneq, bunge, bungt) diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index e85c1d9b5fab..5ab146162240 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -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)) \