https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122187
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:3cbd43d640d6384df85c171a0245488f0adc3145 commit r16-4273-g3cbd43d640d6384df85c171a0245488f0adc3145 Author: Georg-Johann Lay <[email protected]> Date: Tue Oct 7 17:50:34 2025 +0200 AVR: target/122187 - Don't clobber recog_data.operand[] in insn out. avr.cc::avr_out_extr() and avr.cc::avr_out_extr_not() changed xop for output, which spoiled the operand for the next invokation, running into an assertion. This patch makes a local copy of the operands. PR target/122187 gcc/ * config/avr/avr.cc (avr_out_extr, avr_out_extr_not): Make a local copy of the passed rtx[] operands. gcc/testsuite/ * gcc.target/avr/torture/pr122187.c: New test.
