tree-ssa-loop-unswitch.c has this bad indentation at line 452: 449 if (dump_file && (dump_flags & TDF_DETAILS)) 450 fprintf (dump_file, ";; Not unswitching, loop is not expected" 451 " to iterate\n"); 452 return false;
which leads to this warning from -Wmisleading-indentation (justifiably, in my opinion): ../../../src/gcc/tree-ssa-loop-unswitch.c: In function ‘bool tree_unswitch_outer_loop(loop*)’: ../../../src/gcc/tree-ssa-loop-unswitch.c:452:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] return false; ^ ../../../src/gcc/tree-ssa-loop-unswitch.c:449:7: note: ...this ‘if’ clause, but it is not if (dump_file && (dump_flags & TDF_DETAILS)) ^ This patch fixes the indentation of the "return false;" gcc/ChangeLog: * tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Fix indentation. --- gcc/tree-ssa-loop-unswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index 2edc000..7a287da 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -449,7 +449,7 @@ tree_unswitch_outer_loop (struct loop *loop) if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, ";; Not unswitching, loop is not expected" " to iterate\n"); - return false; + return false; } guard = find_loop_guard (loop); -- 1.8.5.3