]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: target/98762 - Handle partial clobber in movqi output.
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 3 Jul 2024 08:29:18 +0000 (10:29 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Wed, 3 Jul 2024 08:33:15 +0000 (10:33 +0200)
commite9fb6efa1cf542353fd44ddcbb5136344c463fd0
tree9e7ab06db42291d742736a781caab376d06e9a4c
parent735edbf1e2479fa2323a2b4a9714fae1a0925f74
AVR: target/98762 - Handle partial clobber in movqi output.

PR target/98762
gcc/
* config/avr/avr.cc (avr_out_movqi_r_mr_reg_disp_tiny): Properly
restore the base register when it is partially clobbered.
gcc/testsuite/
* gcc.target/avr/torture/pr98762.c: New test.
gcc/config/avr/avr.cc
gcc/testsuite/gcc.target/avr/torture/pr98762.c [new file with mode: 0644]