aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-scop-detection.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-09-11 09:35:18 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-09-11 09:35:18 +0000
commit2cbd94afd37c888ec80ec7ad3c902c9afaae4321 (patch)
treebbc163c383dcc4d4d3df7dfa8ab4f63395ccba2e /gcc/graphite-scop-detection.c
parent5a27a197d8ee9ca67e567ecf220e16d9bc4b44b6 (diff)
downloadgcc-2cbd94afd37c888ec80ec7ad3c902c9afaae4321.zip
gcc-2cbd94afd37c888ec80ec7ad3c902c9afaae4321.tar.gz
gcc-2cbd94afd37c888ec80ec7ad3c902c9afaae4321.tar.bz2
graphite-scop-detection.c (move_sd_regions): Adjust for VEC changes.
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
Diffstat (limited to 'gcc/graphite-scop-detection.c')
-rw-r--r--gcc/graphite-scop-detection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index 48bbae9..0ea9e6a 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -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);
}
}