fold-const.c (fold_binary): Guard (X-X) -> 0 transformation with !HONOR_NANS and...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 12 Jun 2007 16:28:01 +0000 (16:28 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 12 Jun 2007 16:28:01 +0000 (16:28 +0000)
commit52a39a4c5db03b2e614f4bde1632e025348d1ebe
treeb55b0e708825d64adcda26d97ed19745dc046ede
parent1c2abe5e5ca716e91b6c6befc9551c48c03a10ff
fold-const.c (fold_binary): Guard (X-X) -> 0 transformation with !HONOR_NANS and !HONOR_INFINITIES.

* fold-const.c (fold_binary): Guard (X-X) -> 0 transformation
with !HONOR_NANS and !HONOR_INFINITIES.
* simplify-rtx.c (simplify_binary_operation_1): Likewise.

From-SVN: r125652
gcc/ChangeLog
gcc/fold-const.c
gcc/simplify-rtx.c