re PR tree-optimization/58343 (ICE in dfs_enumerate_from, at cfganal.c:1036)
authorJeff Law <law@redhat.com>
Tue, 10 Sep 2013 12:29:58 +0000 (06:29 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 10 Sep 2013 12:29:58 +0000 (06:29 -0600)
commit581aedec91ca246f52469d349fbd7664d17d6dc2
treea528f05814b7721c32a5846b1aa61eacc0b393d4
parent84cf4ab655292038d1371a801cbffb9fc6b6ecd0
re PR tree-optimization/58343 (ICE in dfs_enumerate_from, at cfganal.c:1036)

PR tree-optimization/58343
* tree-ssa-threadupdate.c (thread_block): Identify and disable
jump threading requests through loop headers buried in the middle
of a jump threading path.

* tree-ssa-threadedge.c (thread_around_empty_blocks): Fix thinko
in return value/type.

* gcc.c-torture/compile/pr58343.c: New test.

From-SVN: r202441
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr58343.c [new file with mode: 0644]
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c