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

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

https://gcc.gnu.org/g:53305588cfbf74604bafcc27902e1eded5677ae6

commit r12-10591-g53305588cfbf74604bafcc27902e1eded5677ae6
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Mon Jul 1 12:31:01 2024 +0200

    AVR: target/88236, target/115726 - Fix __memx code generation.

            PR target/88236
            PR target/115726
    gcc/
            * config/avr/avr.md (mov<mode>) [avr_mem_memx_p]: Expand in such a
            way that the destination does not overlap with any hard register
            clobbered / used by xload8qi_A resp. xload<mode>_A.
            * config/avr/avr.cc (avr_out_xload): Avoid early-clobber
            situation for Z by executing just one load when the output register
            overlaps with Z.
    gcc/testsuite/
            * gcc.target/avr/torture/pr88236-pr115726.c: New test.

    (cherry picked from commit 3d23abd3dd9c8c226ea302203b214b346f4fe8d7)

Reply via email to