https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979
--- Comment #31 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Author: kkojima Date: Tue May 26 22:37:06 2015 New Revision: 223722 URL: https://gcc.gnu.org/viewcvs?rev=223722&root=gcc&view=rev Log: PR target/65979 * config/sh/sh.md (tstsi_t peephole2): Use gen_rtx_SET and take into account the case that operands[1] and operands[2] are the same register. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/sh/sh.md