function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_IN...
authorJeffrey A Law <law@cygnus.com>
Wed, 10 Jan 2001 18:35:50 +0000 (18:35 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 10 Jan 2001 18:35:50 +0000 (11:35 -0700)
        * function.c (instantiate_virtual_regs): Instantiate virtual
        registers found in CALL_INSN_FUNCTION_USAGE.

From-SVN: r38873

gcc/ChangeLog
gcc/function.c

index f5229e59a6851e5db21fb1f6eab59d47cf7358bf..0ef486ed64e11cc650e896786fad789764891433 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * function.c (instantiate_virtual_regs): Instantiate virtual
+       registers found in CALL_INSN_FUNCTION_USAGE.
+
 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
index c79e17cc1d40a61ffebd6222de0e01de63ff0d90..133852e20bcfa13f63324dee5288805b0c7b7f8b 100644 (file)
@@ -3515,6 +3515,10 @@ instantiate_virtual_regs (fndecl, insns)
       {
        instantiate_virtual_regs_1 (&PATTERN (insn), insn, 1);
        instantiate_virtual_regs_1 (&REG_NOTES (insn), NULL_RTX, 0);
+       /* Instantiate any virtual registers in CALL_INSN_FUNCTION_USAGE.  */
+       if (GET_CODE (insn) == CALL_INSN)
+         instantiate_virtual_regs_1 (&CALL_INSN_FUNCTION_USAGE (insn),
+                                     NULL_RTX, 0);
       }
 
   /* Instantiate the stack slots for the parm registers, for later use in