Adjust handling of word sized subregs for OP_OUT

gcc/
	* lra-constraints.c (curr_insn_transform): Change a reload pseudo of
	type OP_OUT to OP_INOUT.

From-SVN: r219730
This commit is contained in:
Robert Suchanek 2015-01-16 12:31:11 +00:00 committed by Matthew Fortune
parent ece4d1aca6
commit 8b8e23de94
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
* lra-constraints.c (curr_insn_transform): Change a reload pseudo of
type OP_OUT to OP_INOUT.
2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
* simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum

View File

@ -3802,6 +3802,8 @@ curr_insn_transform (bool check_only_p)
(ira_class_hard_regs[goal_alt[i]][0],
GET_MODE (reg), byte, mode) >= 0)))))
{
if (type == OP_OUT)
type = OP_INOUT;
loc = &SUBREG_REG (*loc);
mode = GET_MODE (*loc);
}