aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.md
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-09-06 08:32:49 +0000
committerRichard Henderson <rth@cygnus.com>2000-09-06 08:32:49 +0000
commit77efa07e94df100804a6942d96346fe7444b48f8 (patch)
treeaeb914f0cef3236618ce5f88783d37728efff16b /gcc/config/i386/i386.md
parent7b345eb0e475b03de9d6feeeb15c20462b68c2c7 (diff)
* config/i386/i386.md (call_pop): Fix test for setting
current_function_uses_pic_offset_table. (call, call_value_pop, call_value): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@36187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/i386.md')
-rw-r--r--gcc/config/i386/i386.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 1fd1a9b6bf5..72fd72088c0 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -8453,9 +8453,8 @@
/* Static functions and indirect calls don't need
current_function_uses_pic_offset_table. */
if (flag_pic
- && constant_call_address_operand (operands[0], SImode)
- && (GET_CODE (XEXP (operands[0], 0)) != SYMBOL_REF
- || !SYMBOL_REF_FLAG (XEXP (operands[0], 0))))
+ && GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF
+ && ! SYMBOL_REF_FLAG (XEXP (operands[0], 0)))
current_function_uses_pic_offset_table = 1;
if (! call_insn_operand (XEXP (operands[0], 0), Pmode))
XEXP (operands[0], 0) = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
@@ -8508,9 +8507,8 @@
/* Static functions and indirect calls don't need
current_function_uses_pic_offset_table. */
if (flag_pic
- && constant_call_address_operand (operands[0], SImode)
- && (GET_CODE (XEXP (operands[0], 0)) != SYMBOL_REF
- || !SYMBOL_REF_FLAG (XEXP (operands[0], 0))))
+ && GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF
+ && ! SYMBOL_REF_FLAG (XEXP (operands[0], 0)))
current_function_uses_pic_offset_table = 1;
if (! call_insn_operand (XEXP (operands[0], 0), Pmode))
XEXP (operands[0], 0) = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
@@ -8570,9 +8568,8 @@
/* Static functions and indirect calls don't need
current_function_uses_pic_offset_table. */
if (flag_pic
- && constant_call_address_operand (operands[1], SImode)
- && (GET_CODE (XEXP (operands[1], 0)) != SYMBOL_REF
- || !SYMBOL_REF_FLAG (XEXP (operands[1], 0))))
+ && GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF
+ && ! SYMBOL_REF_FLAG (XEXP (operands[1], 0)))
current_function_uses_pic_offset_table = 1;
if (! call_insn_operand (XEXP (operands[1], 0), Pmode))
XEXP (operands[1], 0) = copy_to_mode_reg (Pmode, XEXP (operands[1], 0));
@@ -8589,9 +8586,8 @@
/* Static functions and indirect calls don't need
current_function_uses_pic_offset_table. */
if (flag_pic
- && constant_call_address_operand (operands[1], SImode)
- && (GET_CODE (XEXP (operands[1], 0)) != SYMBOL_REF
- || !SYMBOL_REF_FLAG (XEXP (operands[1], 0))))
+ && GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF
+ && ! SYMBOL_REF_FLAG (XEXP (operands[1], 0)))
current_function_uses_pic_offset_table = 1;
if (! call_insn_operand (XEXP (operands[1], 0), Pmode))
XEXP (operands[1], 0) = copy_to_mode_reg (Pmode, XEXP (operands[1], 0));