re PR rtl-optimization/88390 (g++.dg/tree-prof/pr57451.C FAILs)
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 8 Dec 2018 11:07:53 +0000 (11:07 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 8 Dec 2018 11:07:53 +0000 (11:07 +0000)
commitdfe1fe91dbc7f068bb3efcee40237caacc0c53ae
treed9c0f861ed8e80b9ab7a6935fb0f36e8b0817472
parent0a6ac1b2894303138d74e82935cda17010e2763e
re PR rtl-optimization/88390 (g++.dg/tree-prof/pr57451.C FAILs)

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.

From-SVN: r266906
gcc/ChangeLog
gcc/dwarf2cfi.c