[Bug target/116953] [avr] error: operands to %T/%t must be reg + const_int
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 4 18:36:02 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116953
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Georg-Johann Lay
<gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:93a6fab364343218e58fd7618e87e5202ae18542
commit r14-10745-g93a6fab364343218e58fd7618e87e5202ae18542
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Thu Oct 3 09:34:08 2024 +0200
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.
(cherry picked from commit 58b9024c996951f8d768f1c83a74e5f3eef8a1c7)
More information about the Gcc-bugs
mailing list