From: Nick Clifton Date: Wed, 1 Aug 2018 13:36:50 +0000 (+0100) Subject: Fix compile time warning problem with gcc 8 and the NS32K assembler sources. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f03fb29221a00c294e14850f1fa1af343cded926;p=binutils-gdb.git Fix compile time warning problem with gcc 8 and the NS32K assembler sources. * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment with "Fall through" so that it will be recognised by gcc's switch statment error checker. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index c203ba63a97..2976c79200f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2018-08-01 Nick Clifton + + * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment + with "Fall through" so that it will be recognised by gcc's switch + statment error checker. + 2018-08-01 Alan Modra * po/POTFILES.in: Regenerate. diff --git a/gas/config/tc-ns32k.c b/gas/config/tc-ns32k.c index c0b0527d400..cd9b18218f4 100644 --- a/gas/config/tc-ns32k.c +++ b/gas/config/tc-ns32k.c @@ -493,7 +493,7 @@ addr_mode (char *operand, default: break; } - /* Drop through. */ + /* Fall through. */ case 3: if (!strncmp (str, "tos", 3))