This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]