> -----Original Message----- > From: Alex Coplan <alex.cop...@arm.com> > Sent: Monday, December 18, 2023 10:29 PM > To: gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw <richard.earns...@arm.com>; Richard Sandiford > <richard.sandif...@arm.com>; Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Subject: [PATCH] aarch64: Fix parens in aarch64_stp_reg_operand [PR113061] > > In r14-6603-gfcdd2757c76bf925115b8e1ba4318d6366dd6f09 I messed up the > parentheses in aarch64_stp_reg_operand, the indentation shows the > intended nesting of the conditions. > > This patch fixes that. > > This fixes PR113061 which shows IRA substituting (const_int 1) into a > writeback stp pattern as a result (and LRA failing to reload the > constant). > > Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk?
Ok. Thanks, Kyrill > > Thanks, > Alex > > gcc/ChangeLog: > > PR target/113061 > * config/aarch64/predicates.md (aarch64_stp_reg_operand): Fix > parentheses to match intent. > > gcc/testsuite/ChangeLog: > > PR target/113061 > * gfortran.dg/PR113061.f90: New test.