diff options
author | Alan Modra <amodra@gmail.com> | 2020-09-02 10:47:33 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-09-02 16:30:44 +0930 |
commit | b4b393495f506632a9be966277c6d6e668ba9778 (patch) | |
tree | c121efc078122fb23e0934a5215b76b6453ca92b /gdb/macrocmd.c | |
parent | caf4537af57320ce15c66d61e4db91073b715236 (diff) | |
download | binutils-b4b393495f506632a9be966277c6d6e668ba9778.zip binutils-b4b393495f506632a9be966277c6d6e668ba9778.tar.gz binutils-b4b393495f506632a9be966277c6d6e668ba9778.tar.bz2 |
ubsan: i386-dis.c
i386-dis.c:12207 left shift of 128 by 24 places cannot be represented in type 'long int'
i386-dis.c:12220 left shift of 128 by 24 places cannot be represented in type 'long int'
i386-dis.c:12222 left shift of 1 by 31 places cannot be represented in type 'long int'
i386-dis.c:12222 signed integer overflow: 162254319 - -2147483648 cannot be represented in type 'long int'
* i386-dis.c (OP_E_memory): Don't cast to signed type when
negating.
(get32, get32s): Use unsigned types in shift expressions.
Diffstat (limited to 'gdb/macrocmd.c')
0 files changed, 0 insertions, 0 deletions