fix pr78384
authorMichael Matz <matz@suse.de>
Mon, 23 Jan 2017 13:57:31 +0000 (13:57 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Mon, 23 Jan 2017 13:57:31 +0000 (13:57 +0000)
commitd886761fd048a6ad77dc7c927cbedfa503cfe01b
treedd7485c0099e0902ae8a40fcb826efe1f1f8cc6d
parentb4fad9fa0e762c8e79c8d93fedcb3c929a29f4ee
fix pr78384

PR tree-optimization/78384
* tree-ssa-loop-split.c (patch_loop_exit): Use correct edge.

testsuite/
PR tree-optimization/78384
* gcc.dg/pr78384.c: New test.

From-SVN: r244811
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78384.c [new file with mode: 0644]
gcc/tree-ssa-loop-split.c