score gcc-8 warning fixes
authorAlan Modra <amodra@gmail.com>
Sat, 12 May 2018 06:51:22 +0000 (16:21 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 12 May 2018 06:51:22 +0000 (16:21 +0930)
commit861d86514a78b9215a67275e15c30242ccc2d7c8
tree1d321239d892208d9f01977cf8729d84dbe416ba
parent9933dc52736dd349503e00a68cd0b9be4388f5a9
score gcc-8 warning fixes

Rather than just silencing the gcc-8 warnings, I decided to rewrite
the buffer handling in the two functions where gcc was warning.
The rest of the file could do with the same treatment.

* config/tc-score.c (s3_do_macro_bcmp): Don't use fixed size
buffers.
(s3_do_macro_bcmpz): Likewise.
gas/ChangeLog
gas/config/tc-score.c