[PATCH] Allow FSM to thread single block cases too
authorJeff Law <law@redhat.com>
Tue, 13 Oct 2015 12:20:06 +0000 (06:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Oct 2015 12:20:06 +0000 (06:20 -0600)
commit92a1d1e1d0a9c07c4ff2c9974f90ed1baee15f27
tree2b14e61a133ed9e22eae3170dba6234277df70d1
parent1f600feab05dc0737a6e11b871fe31b0698ba812
[PATCH] Allow FSM to thread single block cases too

* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
Allow single block jump threading paths.

* gcc.dg/tree-ssa/ssa-thread-13.c: New test.

From-SVN: r228757
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-13.c [new file with mode: 0644]
gcc/tree-ssa-threadbackward.c