[PATCH 4/4] Add -Wmisleading-indentation to -Wall
Dominique d'Humières
dominiq@lps.ens.fr
Fri Dec 11 16:48:00 GMT 2015
Revision r231571 with Jan-Benedict Glaw’s fix for trailing whitespace.
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog (revision 231570)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,13 @@
+2015-12-11 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+ Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR target/26427
+ PR target/33120
+ PR testsuite/35710
+
+ * config/darwin.c (darwin_use_anchors_for_symbol_p): Fix indention and
+ trailing whitespace.
+
2015-12-11 Jan Beulich <jbeulich@suse.com>
* cfgexpand.c (expand_one_var): Exit early for static and
Index: gcc/config/darwin.c
===================================================================
--- gcc/config/darwin.c (revision 231570)
+++ gcc/config/darwin.c (working copy)
@@ -2997,23 +2997,23 @@
SYMBOL_REF_BLOCK_OFFSET (symbol));
}
-/* Disable section anchoring on any section containing a zero-sized
+/* Disable section anchoring on any section containing a zero-sized
object. */
bool
darwin_use_anchors_for_symbol_p (const_rtx symbol)
{
- if (DARWIN_SECTION_ANCHORS && flag_section_anchors)
+ if (DARWIN_SECTION_ANCHORS && flag_section_anchors)
{
section *sect;
/* If the section contains a zero-sized object it's ineligible. */
sect = SYMBOL_REF_BLOCK (symbol)->sect;
/* This should have the effect of disabling anchors for vars that follow
- any zero-sized one, in a given section. */
+ any zero-sized one, in a given section. */
if (sect->common.flags & SECTION_NO_ANCHOR)
return false;
- /* Also check the normal reasons for suppressing. */
- return default_use_anchors_for_symbol_p (symbol);
+ /* Also check the normal reasons for suppressing. */
+ return default_use_anchors_for_symbol_p (symbol);
}
else
return false;
Dominique
> I think you can apply this as obvious
> Iain
More information about the Gcc-patches
mailing list