OSDN Git Service

PR middle-end/40815
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Apr 2010 08:20:36 +0000 (08:20 +0000)
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Apr 2010 08:20:36 +0000 (08:20 +0000)
commitc2f29260864f931025707bda198a4ead538cb49b
tree6ce00310b5e89f1a541aa38b1128562367380e03
parent157d5300f2fd286efa206b015c1efdac6f4cdc65
PR middle-end/40815
* tree-ssa-reassoc.c (broken_up_substracts): Rename to plus_negates.
(negate_value): Move code to push elements to broken_up_substracts ...
(eliminate_plus_minus_pair): ... here.  Push operands that have no
negative pair to plus_negates.
(repropagate_negates, init_reassoc, fini_reassoc): Update.

PR middle-end/40815
* gcc.dg/tree-ssa/reassoc-19.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158105 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c