* crx-dis.c (match_opcode): Avoid shift left of signed value.
+2020-01-04 Alan Modra <amodra@gmail.com>
+
+ * crx-dis.c (match_opcode): Avoid shift left of signed value.
+
2020-01-04 Alan Modra <amodra@gmail.com>
* d30v-dis.c (print_insn): Avoid signed overflow in left shift.
unsigned int mask;
/* The instruction 'constant' opcode doewsn't exceed 32 bits. */
- unsigned int doubleWord = (words[1] + (words[0] << 16)) & 0xffffffff;
+ unsigned int doubleWord = words[1] + ((unsigned) words[0] << 16);
/* Start searching from end of instruction table. */
instruction = &crx_instruction[NUMOPCODES - 2];