https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979
--- Comment #30 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Author: kkojima Date: Tue May 26 22:32:11 2015 New Revision: 223721 URL: https://gcc.gnu.org/viewcvs?rev=223721&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: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.md