Message ID | 20170117.130915.404683180.kkojima@rr.iij4u.or.jp |
---|---|
State | New |
Headers | show |
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index c6956a0..2645fca 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -858,7 +858,8 @@ operands of the tstsi_t insn, which is generally the case. */ if (dump_file) fprintf (dump_file, "cmpeqsi_t: replacing with tstsi_t\n"); - emit_insn (gen_tstsi_t (XEXP (op.set_src, 0), XEXP (op.set_src, 1))); + emit_insn (gen_tstsi_t (copy_rtx (XEXP (op.set_src, 0)), + copy_rtx (XEXP (op.set_src, 1)))); DONE; }