]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
graphite-scop-detection.c (move_sd_regions): Adjust for VEC changes.
authorRichard Guenther <rguenther@suse.de>
Tue, 11 Sep 2012 09:35:18 +0000 (09:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 11 Sep 2012 09:35:18 +0000 (09:35 +0000)
2012-09-11  Richard Guenther  <rguenther@suse.de>

* graphite-scop-detection.c (move_sd_regions): Adjust for VEC
changes.
(scopdet_basic_block_info): Likewise.
(build_scops_1): Likewise.
(limit_scops): Likewise.

From-SVN: r191175

gcc/ChangeLog
gcc/graphite-scop-detection.c

index f6c73d4cb86ef3fe063c63b4fb0734c186ad970b..509d35759c27d6728457efcce370d4bb6954cb9e 100644 (file)
@@ -1,3 +1,11 @@
+2012-09-11  Richard Guenther  <rguenther@suse.de>
+
+       * graphite-scop-detection.c (move_sd_regions): Adjust for VEC
+       changes.
+       (scopdet_basic_block_info): Likewise.
+       (build_scops_1): Likewise.
+       (limit_scops): Likewise.
 2012-09-11  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/54515
index 48bbae94dce7d2c05190c12dd4ee3746969f9f3e..0ea9e6a473d959c204fbe16b1421368c3b2c99ca 100644 (file)
@@ -143,7 +143,7 @@ move_sd_regions (VEC (sd_region, heap) **source,
   int i;
 
   FOR_EACH_VEC_ELT (sd_region, *source, i, s)
-    VEC_safe_push (sd_region, heap, *target, s);
+    VEC_safe_push (sd_region, heap, *target, *s);
 
   VEC_free (sd_region, heap, *source);
 }
@@ -500,7 +500,7 @@ scopdet_basic_block_info (basic_block bb, loop_p outermost_loop,
                sd_region open_scop;
                open_scop.entry = bb;
                open_scop.exit = exit_e->dest;
-               VEC_safe_push (sd_region, heap, *scops, &open_scop);
+               VEC_safe_push (sd_region, heap, *scops, open_scop);
                VEC_free (sd_region, heap, regions);
              }
          }
@@ -756,7 +756,7 @@ build_scops_1 (basic_block current, loop_p outermost_loop,
       else if (in_scop && (sinfo.exits || sinfo.difficult))
         {
          open_scop.exit = current;
-          VEC_safe_push (sd_region, heap, *scops, &open_scop);
+          VEC_safe_push (sd_region, heap, *scops, open_scop);
           in_scop = false;
         }
 
@@ -771,7 +771,7 @@ build_scops_1 (basic_block current, loop_p outermost_loop,
     {
       open_scop.exit = sinfo.exit;
       gcc_assert (open_scop.exit);
-      VEC_safe_push (sd_region, heap, *scops, &open_scop);
+      VEC_safe_push (sd_region, heap, *scops, open_scop);
     }
 
   result.exit = sinfo.exit;
@@ -1205,7 +1205,7 @@ limit_scops (VEC (scop_p, heap) **scops)
                && contains_only_close_phi_nodes (open_scop.exit))
              open_scop.exit = single_succ_edge (open_scop.exit)->dest;
 
-           VEC_safe_push (sd_region, heap, regions, &open_scop);
+           VEC_safe_push (sd_region, heap, regions, open_scop);
          }
     }