This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176099 - in /trunk/gcc: ChangeLog config/mips/...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 09 Jul 2011 20:39:00 -0000
- Subject: r176099 - in /trunk/gcc: ChangeLog config/mips/...
Author: rth
Date: Sat Jul 9 20:39:00 2011
New Revision: 176099
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176099
Log:
dwarf2cfi: Handle return column save from CIE.
When we record a save of the return column in the CIE, remember
that while processing the FDE. This requires propagating the
handling of PC_RTX as a representative of the return column to
more locations.
MIPS had been handling this case by hand, and is no longer required.
* dwarf2cfi.c (cie_return_save): New.
(queue_reg_save): Use compare_reg_or_pc.
(dwarf2out_flush_queued_reg_saves): Handle pc_rtx as return column.
(dwarf2out_frame_debug_expr): Likewise.
(dwarf2out_frame_debug_cfa_register): Record saved reg for pc too.
(initial_return_save): Likewise.
(execute_dwarf2_frame): Save and restore initial return save from
the cie to the fde.
* config/mips/mips.c (mips_frame_set): Remove special case for
DWARF_FRAME_RETURN_COLUMN.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips.c
trunk/gcc/dwarf2cfi.c