aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-10-20 13:58:29 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-20 13:58:29 -0700
commit276ab4a49cabf93897caa27ada91672c1f0ffff1 (patch)
tree9feed3877bbc7d4fbc27a36dbf6a6ed7563d5270 /gcc
parentc26040ee1ee6f616f029bc876cdb230c120ca6c0 (diff)
downloadgcc-276ab4a49cabf93897caa27ada91672c1f0ffff1.zip
gcc-276ab4a49cabf93897caa27ada91672c1f0ffff1.tar.gz
gcc-276ab4a49cabf93897caa27ada91672c1f0ffff1.tar.bz2
i386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.
* i386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE. From-SVN: r30106
Diffstat (limited to 'gcc')
-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);