re PR target/41813 (SH: delay slot is filled with a wrong insn)
authorKaz Kojima <kkojima@gcc.gnu.org>
Sun, 25 Oct 2009 23:10:22 +0000 (23:10 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Sun, 25 Oct 2009 23:10:22 +0000 (23:10 +0000)
PR target/41813
* config/sh/sh.md (stuff_delay_slot): Don't set T_REG in pattern.

From-SVN: r153543

gcc/ChangeLog
gcc/config/sh/sh.md

index 4bce209a482d994776aed888437068d90343f6bc..a9a16933e03c2f4c2846ba03160b28f898d3ee53 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-25  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/41813
+       * config/sh/sh.md (stuff_delay_slot): Don't set T_REG in pattern.
+
 2009-10-25  Richard Guenther  <rguenther@suse.de>
 
        * lto-streamer-in.c (unpack_ts_decl_common_value_fields):
index f06098bfc1bf8c3648fc3e00cd29169b1a386847..9638e8d265d72c65142ba7e4bdb6aeba768b9378 100644 (file)
@@ -6825,7 +6825,7 @@ label:
 (define_insn "stuff_delay_slot"
   [(set (pc)
        (unspec [(match_operand:SI 0 "const_int_operand" "") (pc)] UNSPEC_BBR))
-   (set (reg:SI T_REG) (match_operand:SI 1 "const_int_operand" ""))]
+   (match_operand:SI 1 "const_int_operand" "")]
   "TARGET_SH1"
   ""
   [(set_attr "length" "0")