OSDN Git Service

2007-09-07 Zdenek Dvorak <ook@ucw.cz>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 06:46:53 +0000 (06:46 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 06:46:53 +0000 (06:46 +0000)
commita4c3fb9500847ade4a8bb908aee736cff7656f0a
treedb33abdfbd16a8f9e8335c12bce9877a851b9dcc
parent356a029806a82d9a2439e0cd4b6373dc83d6344b
2007-09-07  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/32183
* Makefile.in (tree-ssa-reassoc.o): Also depend on $(CFGLOOP_H).

* tree-ssa-reassoc.c: Include cfgloop.h.
(is_reassociable_op): Add a loop argument and return true only
for inside loop.
(linearize_expr): Updated.
(should_break_up_subtract): Likewise.
(linearize_expr_tree): Likewise.
(init_reassoc): Call loop_optimizer_init with
AVOID_CFG_MODIFICATIONS.  Remove calculate_dominance_info call
with CDI_DOMINATORS.
(fini_reassoc): Call loop_optimizer_finalize.

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