2017-02-24 Richard Biener <rguenther@suse.de>
commitea75e67070e75dc35b636cfb019d47c6c24ca637
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2017 08:04:31 +0000 (24 08:04 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2017 08:04:31 +0000 (24 08:04 +0000)
tree879d6e9c772604641f126febfe83c337e3d996fd
parent29aad05d4b08f10c7fa1a261a6d283898fc25807
2017-02-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79389
* gimple-ssa-split-paths.c (is_feasible_trace): Verify more
properly that a threading opportunity exists.  Detect conditional
copy/constant propagation opportunities.

* gcc.dg/tree-ssa/split-path-10.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245696 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-split-paths.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/split-path-10.c [new file with mode: 0644]