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
This commit is contained in:
Kaz Kojima 2009-10-25 23:10:22 +00:00
parent a1d9c4fb40
commit 38d547aae1
2 changed files with 6 additions and 1 deletions

View 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):

View 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")