ubsan: d30v: left shift cannot be represented in type 'long long'
authorAlan Modra <amodra@gmail.com>
Mon, 23 Dec 2019 07:32:44 +0000 (18:02 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Dec 2019 07:32:44 +0000 (18:02 +1030)
commit1a1e2852a56da48da1f3b5c80d23c3998a9000fc
tree530ce9e92980515d3df25d158d4883885bc74409
parentcd30bcef4a685ae4a67f8b4a793af0cf7230b9fc
ubsan: d30v: left shift cannot be represented in type 'long long'

* d30v-dis.c (extract_value): Make num param a uint64_t, constify
oper.  Use unsigned vars.
(print_insn): Make num var uint64_t.  Constify oper and remove now
unnecessary casts on extract_value calls.
(print_insn_d30v): Use unsigned vars.  Adjust printf formats.
opcodes/ChangeLog
opcodes/d30v-dis.c