Fix try_transform_to_exit_first_loop_alt
commit2ce3b2a5a68b424964f659ba433e4347c2bf0a06
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 11:53:27 +0000 (8 11:53 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 11:53:27 +0000 (8 11:53 +0000)
tree05a269611c4afd372c2778b7d951d8232bea1c84
parent2af3e910d298b2444f0114c6903fc4438a42c14a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224218 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-iterator.h
gcc/tree-parloops.c