]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-parloops.c (separate_decls_in_region): Change the condition checking if there...
authorRazya Ladelsky <razya@il.ibm.com>
Thu, 3 Sep 2009 09:10:36 +0000 (09:10 +0000)
committerRazya Ladelsky <razya@gcc.gnu.org>
Thu, 3 Sep 2009 09:10:36 +0000 (09:10 +0000)
        * tree-parloops.c (separate_decls_in_region): Change the condition
checking if there are reductions in the loop.

From-SVN: r151373

gcc/ChangeLog
gcc/tree-parloops.c

index 67a7bdd381d81068a15cc80855fb8d28192965dd..d419771f58d2468bbe604b89f2d9af914abc85a3 100644 (file)
@@ -1,3 +1,8 @@
+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
index b1ef83550da6eee350bae0f6296a3974d2478b89..b671fd70836c6ba535eddaaab6380b0dc9f5b743 100644 (file)
@@ -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).  */