https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66442

--- Comment #7 from vries at gcc dot gnu.org ---
Author: vries
Date: Mon Jun  8 11:59:20 2015
New Revision: 224219

URL: https://gcc.gnu.org/viewcvs?rev=224219&root=gcc&view=rev
Log:
Fix try_transform_to_exit_first_loop_alt

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

        backport from trunk:
        2015-06-08  Tom de Vries  <t...@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.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/gimple-iterator.h
    branches/gomp-4_0-branch/gcc/tree-parloops.c

Reply via email to