ubsan: bfin-lex.l:503 left shift cannot be represented
Alan Modra
amodra@gmail.com
Wed Sep 2 08:42:48 GMT 2020
More information about the Binutils mailing list
Wed Sep 2 08:42:48 GMT 2020
- Previous message (by thread): ubsan: objdump.c:3009 negation of -2147483648
- Next message (by thread): ubsan: obj-macho.c:503 left shift cannot be represented
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* config/bfin-lex.l: Use an unsigned type for "value". diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 6837f0d8c8..d31ecc6ef3 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -344,7 +344,7 @@ static long parse_int (char **end) int not_done = 1; int shiftvalue = 0; char * char_bag; - long value = 0; + unsigned long value = 0; char *arg = *end; while (*arg && *arg == ' ') -- Alan Modra Australia Development Lab, IBM
- Previous message (by thread): ubsan: objdump.c:3009 negation of -2147483648
- Next message (by thread): ubsan: obj-macho.c:503 left shift cannot be represented
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list