ubsan: aarch64: left shift of negative value
[deliverable/binutils-gdb.git] / opcodes / rx-dis.c
index c84f7c5d603dbcd7d5b39446f90566bd25e52f52..80144bb6127d9034999394f817fb2d2340e30ca0 100644 (file)
@@ -319,7 +319,7 @@ print_insn_rx (bfd_vma addr, disassemble_info * dis)
            case '0':
            case '1':
            case '2':
-             oper = opcode.op + *s - '0';
+             oper = opcode.op + (*s - '0');
              if (do_size)
                {
                  if (oper->type == RX_Operand_Indirect || oper->type == RX_Operand_Zero_Indirect)
This page took 0.024439 seconds and 4 git commands to generate.