Hi! I tested building a cross compiler to all Linux targets (well, those that are supported by GCC), and building Linux with that. I used --enable-checking=yes,rtl,tree and there was some fallout; all in ports, and all with RTL checking.
c6x and pa illegally share RTL. The rest of the failures are calling REGNO on something that isn't a REG, and INTVAL on something that isn't a CONST_INT. These patches were tested as described (not bootstrapped and/or regression checked). Are they okay to commit, or do you want to handle things differently? Segher Segher Boessenkool (6): c6x: Fix for RTL checking cris: Fix for RTL checking microblaze: Fixes for RTL checking nios2: Fixes for RTL checking pa: Fixes for RTL checking sh: Fixes for RTL checking gcc/config/c6x/c6x.c | 1 + gcc/config/cris/cris.md | 2 +- gcc/config/microblaze/microblaze.c | 5 ++--- gcc/config/microblaze/microblaze.md | 6 +++--- gcc/config/nios2/nios2.c | 14 ++++++++++++++ gcc/config/pa/pa.c | 26 ++++++++++++-------------- gcc/config/sh/sh.md | 12 ++++++++++-- 7 files changed, 43 insertions(+), 23 deletions(-) -- 1.9.3