From ed4c109ee830c14f91ba4b6ae39a016ee5f2131e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 24 Apr 2011 20:04:24 +0000 Subject: Author: Richard Sandiford PR target/43804 * gcc/config/m68k/constraints.md (T): Allow PIC operands that satisfy LEGITIMATE_PIC_OPERAND_P. From-SVN: r172920 --- gcc/config/m68k/constraints.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/config/m68k') diff --git a/gcc/config/m68k/constraints.md b/gcc/config/m68k/constraints.md index a4885cda6ca..0fb30078d66 100644 --- a/gcc/config/m68k/constraints.md +++ b/gcc/config/m68k/constraints.md @@ -94,7 +94,8 @@ (define_constraint "T" "Used for operands that satisfy 's' when -mpcrel is not in effect." (and (match_code "symbol_ref,label_ref,const") - (match_test "!flag_pic"))) + (match_test "!TARGET_PCREL") + (match_test "!flag_pic || LEGITIMATE_PIC_OPERAND_P (op)"))) (define_memory_constraint "Q" "Means address register indirect addressing mode." -- cgit v1.2.1