This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing piece in HARD_FRAME_POINTER_REGNO change for Sparc
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Feb 02 20:19:15 EST
- Subject: Add missing piece in HARD_FRAME_POINTER_REGNO change for Sparc
RTH's change was missing this. It cause builtin_setjmp to fail in the
case where frame variables were needed at the return point.
Tested with bootstrap on Sparc.
Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
now that we have one.
*** config/sparc/sparc.md 2002/02/01 21:54:39 1.145
--- config/sparc/sparc.md 2002/02/19 23:34:07
***************
*** 8736,8740 ****
The restore insn that follows will move this to %sp,
and reload the appropriate value into %fp. */
! emit_move_insn (frame_pointer_rtx, stack);
/* USE of frame_pointer_rtx added for consistency; not clear if
--- 8736,8740 ----
The restore insn that follows will move this to %sp,
and reload the appropriate value into %fp. */
! emit_move_insn (hard_frame_pointer_rtx, stack);
/* USE of frame_pointer_rtx added for consistency; not clear if