Fix try_transform_to_exit_first_loop_alt
authorTom de Vries <tom@codesourcery.com>
Mon, 8 Jun 2015 11:53:27 +0000 (11:53 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 8 Jun 2015 11:53:27 +0000 (11:53 +0000)
commit1b7f61ebc8920326b5dc30f79cfc86ef0cb7bb28
tree05a269611c4afd372c2778b7d951d8232bea1c84
parentaa4e0c43bc9db9ae1411e4957720b887fe5e1edf
Fix try_transform_to_exit_first_loop_alt

2015-06-08  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/66442
* gimple-iterator.h (gimple_seq_nondebug_singleton_p): Add function.
* tree-parloops.c (try_transform_to_exit_first_loop_alt): Return false
if the loop latch is not a singleton.  Use
gimple_seq_nondebug_singleton_p instead of gimple_seq_singleton_p.

From-SVN: r224218
gcc/ChangeLog
gcc/gimple-iterator.h
gcc/tree-parloops.c