aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f5229e5..0ef486e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/function.c b/gcc/function.c
index c79e17c..133852e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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