reg-notes.def (REG_CFA_WINDOW_SAVE): New.
authorRichard Henderson <rth@redhat.com>
Wed, 22 Jun 2011 16:26:52 +0000 (09:26 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 22 Jun 2011 16:26:52 +0000 (09:26 -0700)
commit78a8eb4edcc2352b7af778d2a3563825d8d72b36
tree3a610ed9f5084ab4ef905d107dd27ccc753514d8
parent8288cc7387c4490e0331f8288902159149f59889
reg-notes.def (REG_CFA_WINDOW_SAVE): New.

* reg-notes.def (REG_CFA_WINDOW_SAVE): New.
* dwarf2out.c (dwarf2out_frame_debug): Handle it.
(dwarf2out_frame_debug_cfa_window_save): Rename from
dwarf2out_window_save; make static.
* tree.h (dwarf2out_window_save): Don't declare.

* config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove.
(TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove.
(emit_save_register_window): Rename from gen_save_register_window;
emit the insn and add REG_CFA_* notes.
(sparc_expand_prologue): Update to match.
* config/sparc/sparc.md (save_register_window_1): Simplify from
save_register_window<P:mode>.

From-SVN: r175297
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/dwarf2out.c
gcc/reg-notes.def
gcc/tree.h