[PATCH 0/4] -Wmisleading-indentation
David Malcolm
dmalcolm@redhat.com
Thu Oct 29 16:32:00 GMT 2015
The following patches:
* tweak -Wmisleading-indentation to suppress a kind of false
positive that occurred in three places in gcc's source
tree, and
* fix the two remaining truly misleadingly-indented places
where the warning fires
* adds -Wmisleading-indentation to -Wall
Bootstrapped®rtested the combination of patches with
x86_64-pc-linux-gnu; config-list.mk build using
gcc6 with -Wmisleading-indentation enabled is in-progress.
OK for trunk?
David Malcolm (4):
-Wmisleading-indentation: don't warn in presence of entirely blank
lines
Fix misleading indentation in tree-ssa-loop-unswitch.c
Fix misleading indentation in tree-nested.c
Add -Wmisleading-indentation to -Wall
gcc/c-family/c-indentation.c | 58 ++++++++++++++++++++++
gcc/c-family/c.opt | 2 +-
gcc/doc/invoke.texi | 5 +-
.../c-c++-common/Wmisleading-indentation.c | 32 ++++++++++++
gcc/tree-nested.c | 42 ++++++++--------
gcc/tree-ssa-loop-unswitch.c | 2 +-
6 files changed, 116 insertions(+), 25 deletions(-)
--
1.8.5.3
More information about the Gcc-patches
mailing list