Original patch: http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00210.html
'Tested' with.. ../gcc-4_7-branch/configure --target=sh-elf --prefix=/usr/local --enable-languages=c,c++ --enable-multilib --disable-libssp --disable-nls --disable-werror --enable-lto --with-newlib --with-gnu-as --with-gnu-ld --with-system-zlib make all OK for 4.7 branch? ChangeLog: Backport from mainline 2012-03-03 Kaz Kojima <kkoj...@gcc.gnu.org> * config/sh/sh.md (abssi2): Add TARGET_SH1 condition.
Index: gcc/config/sh/sh.md =================================================================== --- gcc/config/sh/sh.md (revision 188026) +++ gcc/config/sh/sh.md (working copy) @@ -4462,7 +4462,7 @@ [(set (match_operand:SI 0 "arith_reg_dest" "") (abs:SI (match_operand:SI 1 "arith_reg_operand" ""))) (clobber (reg:SI T_REG))] - "" + "TARGET_SH1" "") (define_insn_and_split "*abssi2"