summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-20 20:58:29 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-20 20:58:29 +0000
commitc011bc052b5ae22a5d78e37bb5aa1b1c1a7fee9f (patch)
tree9feed3877bbc7d4fbc27a36dbf6a6ed7563d5270
parentd82f17b008fed83b1c46a492364ec536a22e8c20 (diff)
downloadgcc-c011bc052b5ae22a5d78e37bb5aa1b1c1a7fee9f.tar.gz
* i386.c (ix86_expand_prologue): Properly wrap USE around
reg for CALL_INSN_FUNCTION_USAGE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30106 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3577a4ce551..cdd6b0f1137 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
+
+ * i386.c (ix86_expand_prologue): Properly wrap USE around
+ reg for CALL_INSN_FUNCTION_USAGE.
+
Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
* config/mips/mips.md (movdf_internal1a): Allow floating-point
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index cf7d9fd84aa..620a89d3b86 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1560,7 +1560,8 @@ ix86_expand_prologue ()
insn = emit_call_insn (gen_call (sym, const0_rtx));
CALL_INSN_FUNCTION_USAGE (insn)
- = gen_rtx_EXPR_LIST (VOIDmode, arg0, CALL_INSN_FUNCTION_USAGE (insn));
+ = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, arg0),
+ CALL_INSN_FUNCTION_USAGE (insn));
}
limit = (frame_pointer_needed ? FRAME_POINTER_REGNUM : STACK_POINTER_REGNUM);