diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-10 07:17:17 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-10 07:17:17 -0400 |
commit | 0639444ffba6b0defc610d2f8c1c19d61269ba07 (patch) | |
tree | 7397cdc12ce0c70090566405cf4f178adfd53488 /gcc/reload1.c | |
parent | 9fac9680c02a2df6fdf9981585b533b26598da8f (diff) | |
download | gcc-0639444ffba6b0defc610d2f8c1c19d61269ba07.zip gcc-0639444ffba6b0defc610d2f8c1c19d61269ba07.tar.gz gcc-0639444ffba6b0defc610d2f8c1c19d61269ba07.tar.bz2 |
(reload_as_needed): Call forget_old_reloads_1 on pattern before reg
elimination.
From-SVN: r9345
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index f8260c5..bc85578 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3807,6 +3807,7 @@ reload_as_needed (first, live_known) else if (GET_RTX_CLASS (GET_CODE (insn)) == 'i') { rtx avoid_return_reg = 0; + rtx oldpat = PATTERN (insn); #ifdef SMALL_REGISTER_CLASSES /* Set avoid_return_reg if this is an insn @@ -3936,7 +3937,7 @@ reload_as_needed (first, live_known) for this insn in order to be stored in (obeying register constraints). That is correct; such reload registers ARE still valid. */ - note_stores (PATTERN (insn), forget_old_reloads_1); + note_stores (oldpat, forget_old_reloads_1); /* There may have been CLOBBER insns placed after INSN. So scan between INSN and NEXT and use them to forget old reloads. */ |