diff options
author | Jeffrey A Law <law@cygnus.com> | 2001-01-10 18:35:50 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-01-10 11:35:50 -0700 |
commit | 87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41 (patch) | |
tree | 57b53e0d6d77ed0a87eeb3772a55380f0bd4e66d /gcc | |
parent | 930bbdd224b912a7e8aa8c3c8f05808ccc65c25c (diff) | |
download | gcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.zip gcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.tar.gz gcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.c | 4 |
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 (®_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 |