OSDN Git Service

* tree-ssa-reassoc.c (repropagate_negates): Merge negates also
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 2010 12:39:53 +0000 (12:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:59:08 +0000 (09:59 +0900)
commited20b388a750cbfda6b2271ccd88007143911f0a
tree3f42e1a02a810687880eeef75e57c3233f527333
parent2112fcfba31df1af388e40a946d1c765eedc0e81
* tree-ssa-reassoc.c (repropagate_negates): Merge negates also
into MINUS_EXPRs.
(can_reassociate_p): New function.
(break_up_subtract_bb, reassociate_bb): Use it.

testsuite/
* gcc.dg/tree-ssa/negate.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158265 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/tree-ssa-reassoc.c