]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hppa: Fix indirect_goto constraint
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 5 Oct 2024 22:18:31 +0000 (18:18 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 5 Oct 2024 22:23:03 +0000 (18:23 -0400)
Noticed testing LRA.

2024-10-05  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

* config/pa/pa.md: Fix indirect_got constraint.

gcc/config/pa/pa.md

index 4324195872257b5f9fd3714d0df700e04f6805c0..1d97cb6f48661d113e14d98f03d4fd339f980fe9 100644 (file)
 })
 
 (define_insn "indirect_goto"
-  [(unspec [(match_operand 0 "register_operand" "=r")] UNSPEC_GOTO)]
+  [(unspec [(match_operand 0 "register_operand" "r")] UNSPEC_GOTO)]
   "GET_MODE (operands[0]) == word_mode"
   "bv%* %%r0(%0)"
   [(set_attr "type" "branch")