From 38d547aae14ee17017b1f2f899d00d4938f6601b Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Sun, 25 Oct 2009 23:10:22 +0000 Subject: [PATCH] re PR target/41813 (SH: delay slot is filled with a wrong insn) PR target/41813 * config/sh/sh.md (stuff_delay_slot): Don't set T_REG in pattern. From-SVN: r153543 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bce209a482..a9a16933e03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-25 Kaz Kojima + + PR target/41813 + * config/sh/sh.md (stuff_delay_slot): Don't set T_REG in pattern. + 2009-10-25 Richard Guenther * lto-streamer-in.c (unpack_ts_decl_common_value_fields): diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index f06098bfc1b..9638e8d265d 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -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") -- 2.30.2