From f03fb29221a00c294e14850f1fa1af343cded926 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 1 Aug 2018 14:36:50 +0100 Subject: [PATCH] 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. --- gas/ChangeLog | 6 ++++++ gas/config/tc-ns32k.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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)) -- 2.30.2