From 2ce145f58fb481b37be633a46d54a477d5856e29 Mon Sep 17 00:00:00 2001 From: Venkataramanan Kumar Date: Sun, 7 Sep 2014 17:08:50 +0000 Subject: [PATCH] Fix PR63190 From-SVN: r215004 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e32812cf522..6a8aec7bdd8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-09-07 Venkataramanan Kumar + + PR target/63190 + * config/aarch64/aarch64.md (stack_protect_test_) Add register + constraint for operand0 and remove write only modifier from operand3. + 2014-09-07 Richard Sandiford PR rtl-optimization/62208 diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 6e63881f1f0..c60038a9015 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -4027,11 +4027,11 @@ }) (define_insn "stack_protect_test_" - [(set (match_operand:PTR 0 "register_operand") + [(set (match_operand:PTR 0 "register_operand" "=r") (unspec:PTR [(match_operand:PTR 1 "memory_operand" "m") (match_operand:PTR 2 "memory_operand" "m")] UNSPEC_SP_TEST)) - (clobber (match_scratch:PTR 3 "=&r"))] + (clobber (match_scratch:PTR 3 "&r"))] "" "ldr\t%3, %x1\;ldr\t%0, %x2\;eor\t%0, %3, %0" [(set_attr "length" "12") -- 2.30.2