https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89828
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <[email protected]>: https://gcc.gnu.org/g:713299077407bd1472e14fa10a8d4565932da8da commit r16-3495-g713299077407bd1472e14fa10a8d4565932da8da Author: Yoshinori Sato <[email protected]> Date: Mon Sep 1 11:12:17 2025 -0600 PR target/89828 Inernal compiler error on "-fno-omit-frame-pointer" 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. PR target/89828 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/testsuite/ * gcc.dg/pr89828.c: New.
