re PR target/21551 (ia64 bootstrap failed)
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 16 May 2005 02:11:59 +0000 (02:11 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 16 May 2005 02:11:59 +0000 (19:11 -0700)
2005-05-15  H.J. Lu  <hongjiu.lu@intel.com>

PR target/21551
* config/ia64/ia64.c (ia64_expand_move): Don't add addend twice.

From-SVN: r99760

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 24444470364104dd14c027862325d875e344baee..c0f039ae37cf3db2d1457560ec1260aa11cccf20 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/21551
+       * config/ia64/ia64.c (ia64_expand_move): Don't add addend twice.
+
 2005-05-15  Daniel Berlin  <dberlin@dberlin.org>
            
        Fix PR tree-optimization/21576
index a4d12c92cc34ead65c39cdc86cba9341bbcd5729..da9f55cb5ee35900dbcd75b93e549feb2fa6c0e7 100644 (file)
@@ -984,6 +984,8 @@ ia64_expand_move (rtx op0, rtx op1)
              op1 = plus_constant (sym, addend_hi);
              addend = addend_lo;
            }
+         else
+           addend = 0;
        }
       else
        op1 = sym;