ubsan: ns32k: left shift cannot be represented in type 'int'
authorAlan Modra <amodra@gmail.com>
Tue, 10 Dec 2019 22:04:57 +0000 (08:34 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 01:10:33 +0000 (11:40 +1030)
commitfb4cb4e26d16f928f00973fcdc99934c9174c957
tree29b29e3cc3b8105f4a37ede29652a2605bf48a91
parent96f1f60460a87fa63c33e1004f2c98d30f686d8d
ubsan: ns32k: left shift cannot be represented in type 'int'

* ns32k-dis.c (bit_extract): Use unsigned arithmetic.
(bit_extract_simple, sign_extend): Likewise.
opcodes/ChangeLog
opcodes/ns32k-dis.c