diff options
author | Nick Clifton <nickc@redhat.com> | 2018-08-01 14:36:50 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-08-01 14:36:50 +0100 |
commit | f03fb29221a00c294e14850f1fa1af343cded926 (patch) | |
tree | d78e341b1faf50a305335642465ba4afbda7a5d2 /gas | |
parent | 103da91bc083f94769e3758175a96d06cef1f8fe (diff) | |
download | gdb-f03fb29221a00c294e14850f1fa1af343cded926.zip gdb-f03fb29221a00c294e14850f1fa1af343cded926.tar.gz gdb-f03fb29221a00c294e14850f1fa1af343cded926.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-ns32k.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c203ba6..2976c79 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2018-08-01 Nick Clifton <nickc@redhat.com> + + * 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 <amodra@gmail.com> * po/POTFILES.in: Regenerate. diff --git a/gas/config/tc-ns32k.c b/gas/config/tc-ns32k.c index c0b0527..cd9b182 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)) |