aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2002-05-23 01:16:13 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-23 01:16:13 -0700
commit57d4744644609fe8a1cd4ca99302e4ed7e87d9e8 (patch)
treef26447e35f7de4b856b9bbe01873de0dabe2d542 /gcc
parent4832c9e16663c4191bf9456350d1fefcf4c1caab (diff)
downloadgcc-57d4744644609fe8a1cd4ca99302e4ed7e87d9e8.zip
gcc-57d4744644609fe8a1cd4ca99302e4ed7e87d9e8.tar.gz
gcc-57d4744644609fe8a1cd4ca99302e4ed7e87d9e8.tar.bz2
i386.md (movsi_1, [...]): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
* config/i386/i386.md (movsi_1, movdi_1_rex64): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST. From-SVN: r53778
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index a385ead..913dccb 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1105,7 +1105,7 @@
return "lea{l}\t{%1, %0|%0, %1}";
default:
- if (flag_pic && SYMBOLIC_CONST (operands[1]))
+ if (flag_pic && !LEGITIMATE_PIC_OPERAND_P (operands[1]))
abort();
return "mov{l}\t{%1, %0|%0, %1}";
}
@@ -1871,7 +1871,7 @@
case TYPE_LEA:
return "lea{q}\t{%a1, %0|%0, %a1}";
default:
- if (flag_pic && SYMBOLIC_CONST (operands[1]))
+ if (flag_pic && !LEGITIMATE_PIC_OPERAND_P (operands[1]))
abort ();
if (get_attr_mode (insn) == MODE_SI)
return "mov{l}\t{%k1, %k0|%k0, %k1}";