* function.c (instantiate_virtual_regs): Instantiate virtual
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 18:35:50 +0000 (18:35 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 18:35:50 +0000 (18:35 +0000)
        registers found in CALL_INSN_FUNCTION_USAGE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38873 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/function.c

index f5229e5..0ef486e 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 c79e17c..133852e 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