(form_sum): Undo Sep 28 change.
From-SVN: r5548
This commit is contained in:
parent
0e54aab2ca
commit
d9771f6295
@ -4327,10 +4327,7 @@ form_sum (x, y)
|
||||
|
||||
/* Note that if the operands of Y are specified in the opposite
|
||||
order in the recursive calls below, infinite recursion will occur. */
|
||||
if (GET_CODE (y) == PLUS && CONSTANT_P (XEXP (y, 1))
|
||||
/* Moving the constant in with the MEM yields rtl that reload may not
|
||||
be able to handle when this is an address calculation. */
|
||||
&& GET_CODE (x) != MEM)
|
||||
if (GET_CODE (y) == PLUS && CONSTANT_P (XEXP (y, 1)))
|
||||
return form_sum (form_sum (x, XEXP (y, 0)), XEXP (y, 1));
|
||||
|
||||
/* If both constant, encapsulate sum. Otherwise, just form sum. A
|
||||
|
Loading…
Reference in New Issue
Block a user