Commit bc04abff by Ulrich Weigand Committed by Ulrich Weigand

re PR rtl-optimization/64010 ([msp430-elf] struct function dereference clobbers…

re PR rtl-optimization/64010 ([msp430-elf] struct function dereference clobbers parameter passed to function)

	PR rtl-optimization/64010
	* reload.c (push_reload): Before reusing a register contained
	in an operand as input reload register, ensure that it is not
	used in CALL_INSN_FUNCTION_USAGE.

From-SVN: r218335
parent 380abb42
2014-12-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
PR rtl-optimization/64010
* reload.c (push_reload): Before reusing a register contained
in an operand as input reload register, ensure that it is not
used in CALL_INSN_FUNCTION_USAGE.
2014-12-03 Ulrich Drepper <drepper@gmail.com> 2014-12-03 Ulrich Drepper <drepper@gmail.com>
* Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first * Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first
...@@ -1625,6 +1625,7 @@ push_reload (rtx in, rtx out, rtx *inloc, rtx *outloc, ...@@ -1625,6 +1625,7 @@ push_reload (rtx in, rtx out, rtx *inloc, rtx *outloc,
end_hard_regno (rel_mode, end_hard_regno (rel_mode,
regno), regno),
PATTERN (this_insn), inloc) PATTERN (this_insn), inloc)
&& ! find_reg_fusage (this_insn, USE, XEXP (note, 0))
/* If this is also an output reload, IN cannot be used as /* If this is also an output reload, IN cannot be used as
the reload register if it is set in this insn unless IN the reload register if it is set in this insn unless IN
is also OUT. */ is also OUT. */
......
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