diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-20 08:41:32 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-20 08:41:32 +0000 |
commit | 03248b193e6bac947221d44cc4dff913183cb5ae (patch) | |
tree | e2c9a37069b356f4cb760951f499abdac631e293 /gcc/tree-parloops.c | |
parent | d7cbb3ef81425f9adec25287428049a99320c479 (diff) | |
download | gcc-03248b193e6bac947221d44cc4dff913183cb5ae.tar.gz |
2008-11-20 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r142033
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@142036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 0373205c9f3..d6e94b3c6a5 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -278,6 +278,7 @@ loop_parallel_p (struct loop *loop, htab_t reduction_list, return false; } + vect_dump = NULL; simple_loop_info = vect_analyze_loop_form (loop); for (gsi = gsi_start_phis (loop->header); !gsi_end_p (gsi); gsi_next (&gsi)) @@ -1193,7 +1194,7 @@ separate_decls_in_region (edge entry, edge exit, htab_t reduction_list, VEC_free (basic_block, heap, body); - if (htab_elements (name_copies) == 0) + if (htab_elements (name_copies) == 0 && reduction_list == 0) { /* It may happen that there is nothing to copy (if there are only loop carried and external variables in the loop). */ |