https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88390
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Sat Dec 8 11:07:53 2018 New Revision: 266906 URL: https://gcc.gnu.org/viewcvs?rev=266906&root=gcc&view=rev Log: PR rtl-optimization/88390 * dwarf2cfi.c (struct dw_cfi_row): Add window_save field. (cfi_row_equal_p): Compare it. (dwarf2out_frame_debug_cfa_window_save): Add FAKE parameter. If FAKE is false, set window_save of the current row. (dwarf2out_frame_debug) <REG_CFA_TOGGLE_RA_MANGLE>: Call above function with FAKE parameter set to true. <REG_CFA_WINDOW_SAVE>: Likewise but with FAKE parameter set to false. (change_cfi_row): Emit a DW_CFA_GNU_window_save if necessary. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2cfi.c