+2018-03-01 Matthew Fortune <mfortune@gmail.com>
+
+ * config/mips/mips.c (mips_final_prescan_insn): Fix incorrect
+ XINT with INTVAL.
+ (mips_final_postscan_insn): Likewise.
+
2018-03-01 Richard Sandiford <richard.sandiford@linaro.org>
PR rtl-optimization/84528
&& GET_CODE (PATTERN (insn)) == UNSPEC_VOLATILE
&& XINT (PATTERN (insn), 1) == UNSPEC_CONSTTABLE)
mips_set_text_contents_type (asm_out_file, "__pool_",
- XINT (XVECEXP (PATTERN (insn), 0, 0), 0),
+ INTVAL (XVECEXP (PATTERN (insn), 0, 0)),
FALSE);
if (mips_need_noat_wrapper_p (insn, opvec, noperands))
&& GET_CODE (PATTERN (insn)) == UNSPEC_VOLATILE
&& XINT (PATTERN (insn), 1) == UNSPEC_CONSTTABLE_END)
mips_set_text_contents_type (asm_out_file, "__pend_",
- XINT (XVECEXP (PATTERN (insn), 0, 0), 0),
+ INTVAL (XVECEXP (PATTERN (insn), 0, 0)),
TRUE);
}