[PATCH,MIPS,committed] Fix wrong use of XINT instead of INTVAL

2018-03-01 Thread Matthew Fortune
Hi, This issue was caught with assert checking enabled but is not a functional bug as XINT(x, 0) happens to overlay INTVAL(x) anyway. Committed to trunk. Thanks, Matthew gcc/ * config/mips/mips.c (mips_final_prescan_insn): Fix incorrect XINT with INTVAL. (mips_final_post

Re: [PATCH,MIPS,committed] Fix wrong use of XINT instead of INTVAL

2018-03-01 Thread Maciej W. Rozycki
Hi Matthew, > This issue was caught with assert checking enabled but is not a > functional bug as XINT(x, 0) happens to overlay INTVAL(x) anyway. There's an intriguing difference between XINT (x, 0) and XWINT (x, 0) involved here though, which does not appear to be documented in the manual, an