https://gcc.gnu.org/g:b59c4b1803fca7cd66c27e8a82f89f7c10264f34

commit r15-5178-gb59c4b1803fca7cd66c27e8a82f89f7c10264f34
Author: John David Anglin <dang...@gcc.gnu.org>
Date:   Tue Nov 12 14:26:08 2024 -0500

    hppa: Fix decrement_and_branch_until_zero constraint
    
    The third alternative for argument 4 needs to be an early clobber
    constraint.  Noticed testing LRA.
    
    2024-11-12  John David Anglin  <dang...@gcc.gnu.org>
    
    gcc/ChangeLog:
    
            * config/pa/pa.md (decrement_and_branch_until_zero): Fix
            constraint.

Diff:
---
 gcc/config/pa/pa.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index bf59b7f601e6..360198e9d087 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -9567,7 +9567,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
          (pc)))
    (set (match_dup 0)
        (plus:SI (match_dup 0) (match_dup 1)))
-   (clobber (match_scratch:SI 4 "=X,r,r"))]
+   (clobber (match_scratch:SI 4 "=X,r,&r"))]
   ""
   "* return pa_output_dbra (operands, insn, which_alternative); "
 ;; Do not expect to understand this the first time through.

Reply via email to