Hi Richard, There is some minor testsuite fallout with these patches on MIPS a couple of tests (see below)ICE ingen_int_mode () in both these ICE the mode is CCmode.
Here we arrive at gen_int_mode () via a use of plus_constant () is cse.c with a register with CCmode called from find_reg_offset_for_const (). The plus_constant () ends up trying to create the reg+const rtx via if (c != 0) x = gen_rtx_PLUS (mode, x, gen_int_mode (c, mode)); with the gen_int_mode 90 triggering the ICE. It obviously doesn't make sensegenerating a reg + const where the reg has CCMode. I've only got results from check-gcc-c testsuite so far. Graham testsuite/c-c++-common/cilk-plus/AN/builtin_func_double.c testsuite/gcc.c-torture/execute/921013-1.c