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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Earnshaw <rearn...@gcc.gnu.org>:

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

commit r15-7429-g7bee37094c502de7c191ee5f2f9ce72789d27c99
Author: Richard Earnshaw <rearn...@arm.com>
Date:   Fri Feb 7 11:34:13 2025 +0000

    arm: fix ICE due to fix for POP {PC} change

    My earlier change for making the compiler prefer

            POP     {PC}

    over

            LDR     PC, [SP], #4

    had a slightly unexpected consequence in that we now also call
    arm_emit_multi_reg_pop to handle single register pops when the
    register is not PC.  This exposed a latent bug in this function where
    the dwarf unwinding notes on the single-register POP were not being
    set correctly.

    gcc/
            PR target/118089
            * config/arm/arm.cc (arm_emit_multi_reg_pop): Add a CFA adjust
            note to single-register POP instructions.

Reply via email to