re PR target/65979 ([SH] Wrong code is generated with stage1 compiler)
authorOleg Endo <olegendo@gcc.gnu.org>
Tue, 26 May 2015 22:32:11 +0000 (22:32 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Tue, 26 May 2015 22:32:11 +0000 (22:32 +0000)
commitafa5920a97b539b111a2f1593717ee7ef14f7bdb
tree428f5c30c29d98a0a40163593f8c5a52bf22a72d
parent89d5c50bd125f14c416700f19a4cc963599e9428
re PR target/65979 ([SH] Wrong code is generated with stage1 compiler)

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.

From-SVN: r223721
gcc/ChangeLog
gcc/config/sh/sh.md