PR26493 UBSAN: tc-riscv.c left shift negative and not representable
authorAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 08:35:54 +0000 (18:05 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 10:58:11 +0000 (20:28 +0930)
commit169ec512592ee81a392c8c80d54e99d1b057229f
tree9bc33a80239b49ff53acf969af5ab82e487bd0ac
parent1174d92070a85a8ad25e9b9686dd1b4921e96702
PR26493 UBSAN: tc-riscv.c left shift negative and not representable

PR 26493
* config/tc-riscv.c (riscv_ip): Cast X_add_number passed to
VALID_* macros to unsigned.
gas/ChangeLog
gas/config/tc-riscv.c