* vax-dis.c (NEXTLONG): Avoid signed overflow.
+2019-12-11 Alan Modra <amodra@gmail.com>
+
+ * vax-dis.c (NEXTLONG): Avoid signed overflow.
+
2019-12-11 Alan Modra <amodra@gmail.com>
* v850-dis.c (get_operand_value): Use unsigned arithmetic. Don't
#define COERCE32(x) ((int) (((x) ^ 0x80000000) - 0x80000000))
#define NEXTLONG(p) \
(p += 4, FETCH_DATA (info, p), \
- (COERCE32 ((((((p[-1] << 8) + p[-2]) << 8) + p[-3]) << 8) + p[-4])))
+ (COERCE32 (((((((unsigned) p[-1] << 8) + p[-2]) << 8) + p[-3]) << 8) + p[-4])))
/* Maximum length of an instruction. */
#define MAXLEN 25