]> git.ipfire.org Git - thirdparty/gcc.git/commit
* gcc.c-torture/execute/pr58387.c: New test.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2013 17:27:41 +0000 (17:27 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2013 17:27:41 +0000 (17:27 +0000)
commitb99a7d6d200e6c5d1b2e0525a3811387bb58969a
tree94bfe22f7d19095ab53bd28cb6fb75e78e2f9196
parent1d2fabcac15d2c61e415c7d37c7f6518243a3b78
* gcc.c-torture/execute/pr58387.c: New test.

* tree-ssa-dom.c (cprop_into_successor_phis): Also propagate
edge implied equivalences into successor phis.
* tree-ssa-threadupdate.c (phi_args_equal_on_edges): Moved into
here from tree-ssa-threadedge.c.
(mark_threaded_blocks): When threading through a joiner, if both
successors of the joiner's clone reach the same block, verify the
PHI arguments are equal.  If not, cancel the jump threading request.
* tree-ssa-threadedge.c (phi_args_equal_on_edges): Moved into
tree-ssa-threadupdate.c
(thread_across_edge): Don't check PHI argument equality when
threading through joiner block here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202660 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr58387.c [new file with mode: 0644]
gcc/tree-ssa-dom.c
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c