]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: target/116953 - ICE due to operands clobber in avr_out_sbxx_branch.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 3 Oct 2024 07:34:08 +0000 (09:34 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Fri, 4 Oct 2024 18:28:12 +0000 (20:28 +0200)
commit58b9024c996951f8d768f1c83a74e5f3eef8a1c7
tree3fbad7a6a2b2aae2c28edbf65f068321526ac1f9
parent0f39769ab39ba74c9890c1553c016469c043965c
AVR: target/116953 - ICE due to operands clobber in avr_out_sbxx_branch.

PR target/116953
gcc/
* config/avr/avr.cc (avr_out_sbxx_branch): Work on a copy of
the operands rather than on operands itself, which is just
recog_data.operand and may be clobbered by jump_over_one_insn_p.
gcc/testsuite/
* gcc.target/avr/torture/pr116953.c: New test.
gcc/config/avr/avr.cc
gcc/testsuite/gcc.target/avr/torture/pr116953.c [new file with mode: 0644]