2011-02-08 Richard Guenther <rguenther@suse.de>
commit5d2361b0f1e446021f85b9434d47e7fe7aed11a7
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2011 10:44:06 +0000 (8 10:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2011 10:44:06 +0000 (8 10:44 +0000)
tree5a479057359965e6469131ee3ff8041f18fa3e2e
parentf9e46c252a7eb6962a22c5ef1065d401deb04935
2011-02-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47632
* tree-ssa-forwprop.c (remove_prop_source_from_use): Remove
unused up_to_stmt parameter, return whether cfg-cleanup is
necessary, remove EH info properly.
(forward_propagate_into_gimple_cond): Adjust caller.
(forward_propagate_into_cond): Likewise.
(forward_propagate_comparison): Likewise.
(tree_ssa_forward_propagate_single_use_vars): Make
forward_propagate_comparison case similar to the two others.

* g++.dg/opt/pr47632.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169917 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr47632.C [new file with mode: 0644]
gcc/tree-ssa-forwprop.c