From 87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 10 Jan 2001 18:35:50 +0000 Subject: function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE. * function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE. From-SVN: r38873 --- gcc/function.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/function.c') 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 (®_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 -- cgit v1.1