OSDN Git Service

* fold-const.c (negate_expr_p): New function to determine whether
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Feb 2003 19:37:01 +0000 (19:37 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Feb 2003 19:37:01 +0000 (19:37 +0000)
commit223316432a64192dbd31e793e0fb4412f53240b0
tree0ee4094bf8509462d5d0eb24bc8180303c0134d1
parente52a3bedc98dd99019f94952357e0ca46c34501b
* fold-const.c (negate_expr_p): New function to determine whether
an expression can be negated cheaply.
(fold) [MINUS_EXPR]: Use it to determine whether to transform
-A - B into -B - A for floating point types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63059 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c