diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-10-01 15:27:08 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-10-01 15:27:08 -0700 |
commit | d9771f62959b956e116a8bba90fcc82f853aa1e4 (patch) | |
tree | 3d20e0c99d2c106aa03850822e639f111951b649 /gcc/reload.c | |
parent | 0e54aab2ca0c95dd5f67dfe309ef49b81592a59c (diff) | |
download | gcc-d9771f62959b956e116a8bba90fcc82f853aa1e4.zip gcc-d9771f62959b956e116a8bba90fcc82f853aa1e4.tar.gz gcc-d9771f62959b956e116a8bba90fcc82f853aa1e4.tar.bz2 |
(form_sum): Undo Sep 28 change.
From-SVN: r5548
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 1b348f5..46df172 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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 |