[Bug target/117744] [avr] asm_out for movqi insn doesn't restore partially clobbered address register

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 23 12:39:42 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117744

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Georg-Johann Lay
<gjl@gcc.gnu.org>:

https://gcc.gnu.org/g:7f04fddec3bc33b6fb418f3980995b9b7697e6b1

commit r12-10827-g7f04fddec3bc33b6fb418f3980995b9b7697e6b1
Author: Georg-Johann Lay <avr@gjlay.de>
Date:   Sat Nov 23 12:51:32 2024 +0100

    AVR: target/117744 - Fix asm for partial clobber of address reg,

    gcc/
            PR target/117744
            * config/avr/avr.cc (out_movqi_r_mr): Fix code when a load
            only partially clobbers an address register due to
            changing the address register temporally to accommodate for
            faked addressing modes.

    (cherry picked from commit ee8e6784876aa050d2e01f54d1da4acf758b635a)


More information about the Gcc-bugs mailing list