diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2010-04-08 08:20:36 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2010-04-08 08:20:36 +0000 |
commit | b0aef8a83c2d6deb4040c46b60f04f224894f058 (patch) | |
tree | 6ce00310b5e89f1a541aa38b1128562367380e03 /gcc/expr.c | |
parent | 0b2de948243781018a9d292d0b1ebdbf3c8cbb31 (diff) | |
download | gcc-b0aef8a83c2d6deb4040c46b60f04f224894f058.zip gcc-b0aef8a83c2d6deb4040c46b60f04f224894f058.tar.gz gcc-b0aef8a83c2d6deb4040c46b60f04f224894f058.tar.bz2 |
re PR middle-end/40815 (redundant neg instruction caused by loop-invariant)
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.
From-SVN: r158105
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions