[PATCH] [PR tree-optimization/68013] Make sure first block in FSM path
authorJeff Law <law@redhat.com>
Mon, 26 Oct 2015 15:36:04 +0000 (09:36 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 26 Oct 2015 15:36:04 +0000 (09:36 -0600)
commitc67e5194634c5c3dfd16580e862fb9d4a4552bc9
treea68e04085366e1abc4cc40f951f5ad25faa89a6e
parent335dde2981e5680619d25bf934527c9549959569
[PATCH] [PR tree-optimization/68013] Make sure first block in FSM path
is in VISITED_BBs

PR tree-optimization/68013
* tree-ssa-threadbackward.c
(fsm_find_control_statement_thread_paths): Make sure the first block
in the path is in VISITED_BBs.

PR tree-optimization/68013
* gcc.c-torture/compile/pr68013.c: New test.

From-SVN: r229375
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr68013.c [new file with mode: 0644]
gcc/tree-ssa-threadbackward.c