Makefile.in (tree-ssa-dce.o): Depend on SCEV_H.
* Makefile.in (tree-ssa-dce.o): Depend on SCEV_H.
* tree-ssa-dce.c: Include tree-scalar-evolution.h.
(tree_ssa_dce_loop): Call scev_reset.
From-SVN: r105266
This commit is contained in:
parent
24cc11935c
commit
a4176272bf
@ -1,5 +1,9 @@
|
||||
2005-10-11 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* Makefile.in (tree-ssa-dce.o): Depend on SCEV_H.
|
||||
* tree-ssa-dce.c: Include tree-scalar-evolution.h.
|
||||
(tree_ssa_dce_loop): Call scev_reset.
|
||||
|
||||
PR tree-opt/24300
|
||||
* Makefile.in (tree-ssa-dce.o): Depend on CFGLOOP_H.
|
||||
* tree-ssa-dce.c: Include cfgloop.h.
|
||||
|
||||
@ -2230,7 +2230,8 @@ mode-switching.o : mode-switching.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
tree-ssa-dce.o : tree-ssa-dce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
||||
$(RTL_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
|
||||
coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(BASIC_BLOCK_H) \
|
||||
$(GGC_H) hard-reg-set.h $(OBSTACK_H) $(TREE_GIMPLE_H) $(CFGLOOP_H)
|
||||
$(GGC_H) hard-reg-set.h $(OBSTACK_H) $(TREE_GIMPLE_H) $(CFGLOOP_H) \
|
||||
$(SCEV_H)
|
||||
tree-ssa-ccp.o : tree-ssa-ccp.c $(TREE_FLOW_H) $(CONFIG_H) \
|
||||
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
||||
$(DIAGNOSTIC_H) function.h $(TIMEVAR_H) $(TM_H) coretypes.h \
|
||||
|
||||
@ -65,6 +65,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
#include "timevar.h"
|
||||
#include "flags.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-scalar-evolution.h"
|
||||
|
||||
static struct stmt_stats
|
||||
{
|
||||
@ -947,6 +948,7 @@ tree_ssa_dce_loop (void)
|
||||
{
|
||||
perform_tree_ssa_dce (/*aggressive=*/false);
|
||||
free_numbers_of_iterations_estimates (current_loops);
|
||||
scev_reset ();
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1023,4 +1025,3 @@ struct tree_opt_pass pass_cd_dce =
|
||||
| TODO_verify_flow, /* todo_flags_finish */
|
||||
0 /* letter */
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user