i386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.
authorRichard Henderson <rth@cygnus.com>
Wed, 20 Oct 1999 20:58:29 +0000 (13:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 20 Oct 1999 20:58:29 +0000 (13:58 -0700)
        * i386.c (ix86_expand_prologue): Properly wrap USE around
        reg for CALL_INSN_FUNCTION_USAGE.

From-SVN: r30106

gcc/ChangeLog
gcc/config/i386/i386.c

index 3577a4ce55107c210ab54a80e7aac122e11dfad4..cdd6b0f1137d354ba9eb69be1a9f5595096e8b03 100644 (file)
@@ -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
index cf7d9fd84aa7f9082a6a7a37bd059fbf2aa26218..620a89d3b86bfeb26c014513a32c32d9af30e5da 100644 (file)
@@ -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);