mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
ubsan: bfin-lex.l:503 left shift cannot be represented
* config/bfin-lex.l: Use an unsigned type for "value".
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2020-09-02 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/bfin-lex.l: Use an unsigned type for "value".
|
||||
|
||||
2020-09-02 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/tc-pdp11.c (md_number_to_chars): Condition nbytes=8 code
|
||||
|
@ -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 == ' ')
|
||||
|
Reference in New Issue
Block a user