This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175048 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 19:12:54 -0000
- Subject: r175048 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: rth
Date: Tue Jun 14 19:12:53 2011
New Revision: 175048
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175048
Log:
Backport from mainline
2011-03-22 Richard Henderson <rth@redhat.com>
* config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
(avr_incoming_return_addr_rtx): New.
(emit_push_byte): New.
(expand_prologue): Use it. Remove incorrect dwarf annotation for
SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf
annotation for __prologue_saves__. Fixup dwarf annotation for CFA.
(emit_pop_byte): New.
(expand_epilogue): Use it. Pop frame pointer by bytes.
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove.
(INCOMING_RETURN_ADDR_RTX): New.
(INCOMING_FRAME_SP_OFFSET): New.
(ARG_POINTER_CFA_OFFSET): New.
* config/avr/avr.md (*pushqi): Fix mode of auto-inc.
(*pushhi, *pushsi, *pushsf, popqi): Likewise.
(pophi): Remove.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/avr/avr-protos.h
branches/gcc-4_6-branch/gcc/config/avr/avr.c
branches/gcc-4_6-branch/gcc/config/avr/avr.h
branches/gcc-4_6-branch/gcc/config/avr/avr.md