From: Kaz Kojima Date: Wed, 10 Jun 2015 21:45:37 +0000 (+0000) Subject: sh.md (tstsi_t): Add '?' modifier to 'r' alternative of the 2nd operand to fix failur... X-Git-Tag: basepoints/gcc-7~6383 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fbecceaf02db9eaa61895c1f08871ee00d6750b;p=thirdparty%2Fgcc.git sh.md (tstsi_t): Add '?' modifier to 'r' alternative of the 2nd operand to fix failures for... * config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative of the 2nd operand to fix failures for gcc.target/sh/pr49263-2.c with -mlra. From-SVN: r224349 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32fce15f1e81..c87478939581 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-06-10 Kaz Kojima + + * config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative + of the second operand. + 2015-06-10 Uros Bizjak PR target/66473 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 33241a8b690f..e88d249ef416 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -616,7 +616,7 @@ (define_insn_and_split "tstsi_t" [(set (reg:SI T_REG) (eq:SI (and:SI (match_operand:SI 0 "arith_reg_operand" "%z,r") - (match_operand:SI 1 "arith_or_int_operand" "K08,r")) + (match_operand:SI 1 "arith_or_int_operand" "K08,?r")) (const_int 0)))] "TARGET_SH1 && (can_create_pseudo_p () || arith_reg_operand (operands[1], SImode)