re PR tree-optimization/58640 (wrong code (segfaults) at -O3 on x86_64-linux-gnu)
authorJeff Law <law@redhat.com>
Fri, 11 Oct 2013 20:31:25 +0000 (14:31 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 11 Oct 2013 20:31:25 +0000 (14:31 -0600)
commitef3cfba23d0f9c518cc71ff053994e77e80f1d1a
treedf0943cec3572628c3fbfa0e8b03d172da3a36a1
parent6e8b7d9cd6c483e85dc243ac4edf561ca7d8f7ef
re PR tree-optimization/58640 (wrong code (segfaults) at -O3 on x86_64-linux-gnu)

PR tree-optimization/58640
* tree-ssa-threadupdate.c (mark_threaded_blocks): Truncate jump threading
paths that cross over two loop entry points.

* gcc.c-torture/execute/pr58640.c: New test.

From-SVN: r203463
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr58640.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c