Commit e7df16a5 by Razya Ladelsky Committed by Razya Ladelsky

tree-parloops.c (separate_decls_in_region): Change the condition checking if…

tree-parloops.c (separate_decls_in_region): Change the condition checking if there are reductions in the loop.

        * tree-parloops.c (separate_decls_in_region): Change the condition 
	checking if there are reductions in the loop.

From-SVN: r151373
parent 785aa2a7
2009-09-03 Razya Ladelsky <razya@il.ibm.com>
* tree-parloops.c (separate_decls_in_region): Change the condition
checking if there are reductions in the loop.
2009-09-03 Razya Ladelsky <razya@il.ibm.com>
PR tree-optimization/38275
* tree-parloops.c (parallelize_loops): Replace profitability condition
......
......@@ -1135,7 +1135,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 && reduction_list == 0)
if (htab_elements (name_copies) == 0 && htab_elements (reduction_list)==0)
{
/* It may happen that there is nothing to copy (if there are only
loop carried and external variables in the loop). */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment