diff options
author | Richard Guenther <rguenther@suse.de> | 2009-10-23 09:34:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-10-23 09:34:46 +0000 |
commit | 5813994e3c5f155d96930314e82f6980c8981406 (patch) | |
tree | eb96d46ea128145da9820a137b39b70dcb5a20d4 /gcc/c-common.c | |
parent | 17e72e5d2226f0853033c033c2132bec15a63a8a (diff) | |
download | gcc-5813994e3c5f155d96930314e82f6980c8981406.zip gcc-5813994e3c5f155d96930314e82f6980c8981406.tar.gz gcc-5813994e3c5f155d96930314e82f6980c8981406.tar.bz2 |
re PR tree-optimization/41778 (missed dead store elimination)
2009-10-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41778
* tree-ssa-pre.c (do_regular_insertion): Only insert if a
redundancy along a path in the CFG we want to optimize for speed
is going to be removed.
(execute_pre): Do partial-PRE only if the function is to be
optimized for speed.
(gate_pre): Do not turn off all of PRE when not optimizing a
function for speed.
* gcc.dg/tree-ssa/ssa-pre-26.c: New testcase.
From-SVN: r153491
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions