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

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

https://gcc.gnu.org/g:0eb7f0a860add7b1c79ae4248e1960120bc77d60

commit r14-11062-g0eb7f0a860add7b1c79ae4248e1960120bc77d60
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Wed Dec 4 20:56:50 2024 +0100

    AVR: target/64242 - Copy FP to a local reg in nonlocal_goto.

    In nonlocal_goto sets, change hard_frame_pointer_rtx only after
    emit_stack_restore() restored SP.  This is needed because SP
    my be stored in some frame location.

    gcc/
            PR target/64242
            * config/avr/avr.md (nonlocal_goto): Don't restore
            hard_frame_pointer_rtx directly, but copy it to local
            register, and only set hard_frame_pointer_rtx from it
            after emit_stack_restore().

    (cherry picked from commit f7b5527d1b48b33d8ab633c1e9dcb9883667492a)

Reply via email to