On 6/22/25 11:54 PM, Alexandre Oliva wrote:

Regstrapped on x86_64-linux-gnu, bootstrapped on arm-linux-gnueabihf
(arm and thumb modes), also tested with gcc-14 on arm-vx7r2 and
arm-linux-gnueabihf.  Ok to install?

It is OK for me.  Thank you, Alex
for  gcc/ChangeLog

        PR rtl-optimization/120424
        * genoutput.cc (scan_operands): Make MATCH_SCRATCHes eliminable.
---
  gcc/genoutput.cc |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/genoutput.cc b/gcc/genoutput.cc
index dd4e7b80c2a91..25d0b8b864676 100644
--- a/gcc/genoutput.cc
+++ b/gcc/genoutput.cc
@@ -478,7 +478,7 @@ scan_operands (class data *d, rtx part, int this_address_p,
        d->operand[opno].n_alternatives
        = n_occurrences (',', d->operand[opno].constraint) + 1;
        d->operand[opno].address_p = 0;
-      d->operand[opno].eliminable = 0;
+      d->operand[opno].eliminable = 1;
        return;
case MATCH_OPERATOR:


Reply via email to