summaryrefslogtreecommitdiff
path: root/gcc/graphite-optimize-isl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite-optimize-isl.c')
-rw-r--r--gcc/graphite-optimize-isl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c
index 9c17bed6118..5e15a7c148f 100644
--- a/gcc/graphite-optimize-isl.c
+++ b/gcc/graphite-optimize-isl.c
@@ -51,7 +51,7 @@ scop_get_domains (scop_p scop ATTRIBUTE_UNUSED)
isl_space *space = isl_set_get_space (scop->context);
isl_union_set *res = isl_union_set_empty (space);
- FOR_EACH_VEC_ELT (poly_bb_p, scop->bbs, i, pbb)
+ FOR_EACH_VEC_ELT (scop->bbs, i, pbb)
res = isl_union_set_add_set (res, isl_set_copy (pbb->domain));
return res;
@@ -414,7 +414,7 @@ apply_schedule_map_to_scop (scop_p scop, isl_union_map *schedule_map)
int i;
poly_bb_p pbb;
- FOR_EACH_VEC_ELT (poly_bb_p, scop->bbs, i, pbb)
+ FOR_EACH_VEC_ELT (scop->bbs, i, pbb)
{
isl_set *domain = isl_set_copy (pbb->domain);
isl_union_map *stmtBand;