tic4x-coff: ubsan: various shift UB
authorAlan Modra <amodra@gmail.com>
Sun, 30 Aug 2020 14:13:54 +0000 (23:43 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 10:58:08 +0000 (20:28 +0930)
commit737d21903469dca029a791bcd7e84b33c4c3ee16
tree15682d141c8326475edc27f52dfa7da4ab6d5a1a
parente840f2e3e2f5091b392994d47d1f9f31b5d57269
tic4x-coff: ubsan: various shift UB

* config/tc-tic4x.c (tic4x_gen_to_words): Rewrite mantissa
overflow test without UB.  Avoid other UB shifts by making them
unsigned.
gas/ChangeLog
gas/config/tc-tic4x.c