../../../src/gcc/graphite-optimize-isl.c: In function ‘isl_union_set* scop_get_domains(scop_p)’: ../../../src/gcc/graphite-optimize-isl.c:362:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] return res; ^~~~~~
In file included from ../../../src/gcc/hash-table.h:236:0, from ../../../src/gcc/coretypes.h:348, from ../../../src/gcc/graphite-optimize-isl.c:28: ../../../src/gcc/vec.h:1343:3: note: ...this ‘for’ clause, but it is not for (I = 0; (V).iterate ((I), &(P)); ++(I)) ^ ../../../src/gcc/graphite-optimize-isl.c:359:3: note: in expansion of macro ‘FOR_EACH_VEC_ELT’ FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) ^~~~~~~~~~~~~~~~ 351 static isl_union_set * 352 scop_get_domains (scop_p scop ATTRIBUTE_UNUSED) 353 { 354 int i; 355 poly_bb_p pbb; 356 isl_space *space = isl_set_get_space (scop->param_context); 357 isl_union_set *res = isl_union_set_empty (space); 358 359 FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) 360 res = isl_union_set_add_set (res, isl_set_copy (pbb->domain)); 361 362 return res; ^ warning is here 363 } [This warning would have been suppressed by the blank-lines heuristic from: https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01011.html ] Preapproved by Jeff in: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03246.html Bootstrapped®rtested on x86_64-pc-linux-gnu. Committed to trunk as r231522. gcc/ChangeLog: * graphite-optimize-isl.c (scop_get_domains): Fix indentation. --- gcc/graphite-optimize-isl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c index 8727e39..0c6a971 100644 --- a/gcc/graphite-optimize-isl.c +++ b/gcc/graphite-optimize-isl.c @@ -359,7 +359,7 @@ scop_get_domains (scop_p scop ATTRIBUTE_UNUSED) FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) res = isl_union_set_add_set (res, isl_set_copy (pbb->domain)); - return res; + return res; } static const int CONSTANT_BOUND = 20; -- 1.8.5.3