diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-10 09:19:02 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-10 09:19:02 +0000 |
commit | 652cd6cb0c05beda207c196311f6325ddb7ff363 (patch) | |
tree | 45734f85050b1de673fb8968f0f13406670db738 /gcc/tree-parloops.c | |
parent | 0c371dfad594c22f8062f7cd9f831ec60998d0b3 (diff) | |
download | gcc-652cd6cb0c05beda207c196311f6325ddb7ff363.tar.gz |
2012-02-10 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 184083 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@184084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 28c450d6b2d..221f25798f3 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -2183,7 +2183,10 @@ parallelize_loops (void) || loop_has_blocks_with_irreducible_flag (loop) || (loop_preheader_edge (loop)->src->flags & BB_IRREDUCIBLE_LOOP) /* FIXME: the check for vector phi nodes could be removed. */ - || loop_has_vector_phi_nodes (loop)) + || loop_has_vector_phi_nodes (loop) + /* FIXME: transform_to_exit_first_loop does not handle not + header-copied loops correctly - see PR46886. */ + || !do_while_loop_p (loop)) continue; estimated = max_stmt_executions_int (loop, false); /* FIXME: Bypass this check as graphite doesn't update the |