Partial revert of r243782 to restore previous behavior

gcc/
	* lra-constraints.c (simplify_operand_subreg): Remove early
	return false.

From-SVN: r245600
This commit is contained in:
Matthew Fortune 2017-02-20 12:07:14 +00:00 committed by Matthew Fortune
parent 62cdb86264
commit 77850e96dd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
* lra-constraints.c (simplify_operand_subreg): Remove early
return false.
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com> 2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
PR target/78660 PR target/78660

View File

@ -1600,7 +1600,8 @@ simplify_operand_subreg (int nop, machine_mode reg_mode)
the memory. Typical case is when the index scale should the memory. Typical case is when the index scale should
correspond the memory. */ correspond the memory. */
*curr_id->operand_loc[nop] = operand; *curr_id->operand_loc[nop] = operand;
return false; /* Do not return false here as the MEM_P (reg) will be processed
later in this function. */
} }
else if (REG_P (reg) && REGNO (reg) < FIRST_PSEUDO_REGISTER) else if (REG_P (reg) && REGNO (reg) < FIRST_PSEUDO_REGISTER)
{ {