r158265 - in /trunk/gcc: ChangeLog testsuite/Ch...
matz@gcc.gnu.org
matz@gcc.gnu.org
Tue Apr 13 12:40:00 GMT 2010
Author: matz
Date: Tue Apr 13 12:39:53 2010
New Revision: 158265
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158265
Log:
* 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.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/negate.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-reassoc.c
More information about the Gcc-cvs
mailing list