diff options
author | Richard Henderson <rth@cygnus.com> | 1998-11-06 18:51:21 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-11-06 18:51:21 -0800 |
commit | da9b1f9ca0340cef1bc00a1350ebb44619636a66 (patch) | |
tree | 3e3a33aee0ad167297873a9f03c5508526767528 | |
parent | 5df0e893fc094d4f00f95287f8a34f83aeca5b73 (diff) |
function.c (purge_addressof): Clear purge_addressof_replacements only after processing the whole function.
* function.c (purge_addressof): Clear purge_addressof_replacements
only after processing the whole function.
From-SVN: r23554
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32e2fe80a5d..f74d64b2969 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 7 02:49:56 1998 Richard Henderson <rth@cygnus.com> + + * function.c (purge_addressof): Clear purge_addressof_replacements + only after processing the whole function. + Sat Nov 7 00:54:55 1998 Jeffrey A Law (law@cygnus.com) * reload1.c (reload): If we can not perform a particular elimination diff --git a/gcc/function.c b/gcc/function.c index d2eab67b61e..44accb85a0d 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3017,8 +3017,8 @@ purge_addressof (insns) purge_addressof_1 (&PATTERN (insn), insn, asm_noperands (PATTERN (insn)) > 0, 0); purge_addressof_1 (®_NOTES (insn), NULL_RTX, 0, 0); - purge_addressof_replacements = 0; } + purge_addressof_replacements = 0; } /* Pass through the INSNS of function FNDECL and convert virtual register |