aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2015-06-10 21:45:37 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2015-06-10 21:45:37 +0000
commit0fbecceaf02db9eaa61895c1f08871ee00d6750b (patch)
tree2e04503dc400e07718973548dab98284f73f4951 /gcc/config/sh
parent5c8302fa6c4a6b0d14d268c1ea70e1e6347ef827 (diff)
downloadgcc-0fbecceaf02db9eaa61895c1f08871ee00d6750b.zip
gcc-0fbecceaf02db9eaa61895c1f08871ee00d6750b.tar.gz
gcc-0fbecceaf02db9eaa61895c1f08871ee00d6750b.tar.bz2
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
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 33241a8..e88d249 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)