aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3577a4c..cdd6b0f 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 cf7d9fd..620a89d 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);