On 9/1/25 9:02 AM, Yoshinori Sato wrote:
The problem was caused by an erroneous note about creating a stack frame,
which caused the cur_cfa reg to fail to assert with a value other than
the frame pointer.

This fix will generate notes that correctly update cur_cfa.

v2 changes.
Add testcase.
All tests that failed with
"internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.cc"
now pass.

gcc/config/rx/
        * rx.cc (add_pop_cfi_notes): Release the frame pointer if it is used.
        (rx_expand_prologue): Redesigned stack pointer and frame pointer update 
process.
gcc/testcase/gcc.dg/
        * pr89828.c: New.

Thanks. I made a few fixes to the ChangeLog (but none to the code) and pushed this to the trunk.

Thanks!

jeff

Reply via email to