aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-10-06 22:49:08 +1030
committerAlan Modra <amodra@gmail.com>2016-10-06 22:49:38 +1030
commitfcddde94ee566423cacf455a86e2e797b11d1cee (patch)
treea84ccb2f87f0017ad8476c9e9404df3f539bf43d /gas/app.c
parentb781683b71a1fc70c4d925ebe1bc943203dd7419 (diff)
downloadfsf-binutils-gdb-fcddde94ee566423cacf455a86e2e797b11d1cee.zip
fsf-binutils-gdb-fcddde94ee566423cacf455a86e2e797b11d1cee.tar.gz
fsf-binutils-gdb-fcddde94ee566423cacf455a86e2e797b11d1cee.tar.bz2
-Wimplicit-fallthrough dodgy fixes
The comment logically belongs inside the preprocessor conditional, but gcc's -Wimplicit-fallthrough loses track of it. Revert when/if https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817 is fixed. * app.c (do_scrub_chars): Move fall through comment. * expr.c (operand): Likewise.
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/app.c b/gas/app.c
index 4b53ce7..6b883a1 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -1322,8 +1322,8 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen)
else
UNGET (quot);
}
- /* FALL THROUGH */
#endif
+ /* Fall through. */
case LEX_IS_SYMBOL_COMPONENT:
if (state == 10)