Commit 5ac60b56 by Richard Guenther Committed by Richard Biener

re PR tree-optimization/46498 (ICE: in eliminate_unnecessary_stmts, at…

re PR tree-optimization/46498 (ICE: in eliminate_unnecessary_stmts, at tree-ssa-dce.c:1112 with -O -funsafe-math-optimizations -fno-tree-dominator-opts -fno-tree-reassoc)

2010-11-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/46498
	* tree-ssa-dce.c (perform_tree_ssa_dce): Compute dominator info.

From-SVN: r166861
parent d92826be
2010-11-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46498
* tree-ssa-dce.c (perform_tree_ssa_dce): Compute dominator info.
2010-11-16 Nathan Froyd <froydnj@codesourcery.com> 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
* config/xtensa/xtensa.c (function_arg_boundary): Really rename to... * config/xtensa/xtensa.c (function_arg_boundary): Really rename to...
...@@ -1408,6 +1408,8 @@ perform_tree_ssa_dce (bool aggressive) ...@@ -1408,6 +1408,8 @@ perform_tree_ssa_dce (bool aggressive)
struct edge_list *el = NULL; struct edge_list *el = NULL;
bool something_changed = 0; bool something_changed = 0;
calculate_dominance_info (CDI_DOMINATORS);
/* Preheaders are needed for SCEV to work. /* Preheaders are needed for SCEV to work.
Simple lateches and recorded exits improve chances that loop will Simple lateches and recorded exits improve chances that loop will
proved to be finite in testcases such as in loop-15.c and loop-24.c */ proved to be finite in testcases such as in loop-15.c and loop-24.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment