Commit f9df0a1d by J"orn Rennecke Committed by Joern Rennecke

reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to RELOAD_FOR_INSN.

	* reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
	RELOAD_FOR_INSN.

From-SVN: r20559
parent 276d5ee0
Thu Jun 18 17:30:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
RELOAD_FOR_INSN.
Thu Jun 18 09:36:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Thu Jun 18 09:36:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (c-lang.o): Depend on output.h. * Makefile.in (c-lang.o): Depend on output.h.
......
...@@ -3574,11 +3574,13 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -3574,11 +3574,13 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
a SCRATCH). In this case, we only need have the reload live a SCRATCH). In this case, we only need have the reload live
through the insn itself, but not for any of our input or output through the insn itself, but not for any of our input or output
reloads. reloads.
But we must not accidentally narrow the scope of an existing
RELOAD_OTHER reload - leave these alone.
In any case, anything needed to address this operand can remain In any case, anything needed to address this operand can remain
however they were previously categorized. */ however they were previously categorized. */
if (goal_alternative_earlyclobber[i]) if (goal_alternative_earlyclobber[i] && operand_type[i] != RELOAD_OTHER)
operand_type[i] operand_type[i]
= (find_reg_note (insn, REG_UNUSED, recog_operand[i]) = (find_reg_note (insn, REG_UNUSED, recog_operand[i])
? RELOAD_FOR_INSN : RELOAD_OTHER); ? RELOAD_FOR_INSN : RELOAD_OTHER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment