From: Venkataramanan Kumar Date: Sun, 7 Sep 2014 17:08:50 +0000 (+0000) Subject: Fix PR63190 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce145f58fb481b37be633a46d54a477d5856e29;p=gcc.git Fix PR63190 From-SVN: r215004 --- 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")