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]

Re: sh-elf: PR target/15886


> I'll regtest it on sh-elf-3_5-branch and send it to gcc-patch if
> there are no problems.

I've already tested this and applied it to mainline and sh-elf-3_5-branch:

2004-06-11  J"orn Rennecke <joern.rennecke@superh.com>

	* sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.

Index: config/sh/sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.240
diff -p -r1.240 sh.h
*** config/sh/sh.h	21 May 2004 01:03:20 -0000	1.240
--- config/sh/sh.h	11 Jun 2004 17:09:10 -0000
*************** extern int rtx_equal_function_value_matt
*** 3305,3314 ****
  		 & ~ CALL_COOKIE_RET_TRAMP (1)) \
  		|| current_function_has_nonlocal_label)) \
        ? (hard_reg) \
!       : gen_rtx_MEM (Pmode, TARGET_SH5 \
! 			    ? (plus_constant (arg_pointer_rtx, \
! 					      TARGET_SHMEDIA64 ? -8 : -4)) \
! 			    : frame_pointer_rtx)) \
     : NULL_RTX)
  
  #endif /* ! GCC_SH_H */
--- 3305,3311 ----
  		 & ~ CALL_COOKIE_RET_TRAMP (1)) \
  		|| current_function_has_nonlocal_label)) \
        ? (hard_reg) \
!       : gen_rtx_MEM (Pmode, return_address_pointer_rtx)) \
     : NULL_RTX)
  
  #endif /* ! GCC_SH_H */


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