Commit 4891e8f8 by Richard Biener Committed by Richard Biener

re PR tree-optimization/57000 (ICE with -Ofast and -frounding-math)

2013-04-19  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57000
	* tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals.

	* gcc.dg/tree-ssa/reassoc-27.c: New testcase.

From-SVN: r198087
parent b91a551f
2013-04-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/57000
* tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals.
2013-04-19 Terry Guo <terry.guo@arm.com>
* config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit.
......
2013-04-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/57000
* gcc.dg/tree-ssa/reassoc-27.c: New testcase.
2013-04-19 Thomas Koenig <tkoenig@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
......
/* { dg-do compile } */
/* { dg-options "-O -ffast-math -frounding-math -fdump-tree-optimized" } */
double baz (double foo, double bar)
{
return foo * foo * foo * foo * bar * bar * bar * bar;
}
/* We should re-associate this as (foo * bar)**3. */
/* { dg-final { scan-tree-dump-times " \\\* " 3 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
......@@ -4293,6 +4293,7 @@ struct gimple_opt_pass pass_reassoc =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_verify_ssa
| TODO_update_ssa_only_virtuals
| TODO_verify_flow /* todo_flags_finish */
}
};
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