* sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Fri, 11 Jun 2004 18:13:32 +0000 (18:13 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 11 Jun 2004 18:13:32 +0000 (19:13 +0100)
From-SVN: r82985

gcc/ChangeLog
gcc/config/sh/sh.h

index b83e3e1b15e84ee4d8e8f56371696b5142fc02e7..fd017de3b8ad8cba4393c8cfda1b359a6c37e03b 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-11  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.
+
 2004-06-11  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * doc/install.texi (Prerequisites): Update documentation of
index fb8a16522cb126650e150ed5236cbbbc4057685e..9cec69ad0c6cf9a96c49978535d2fea0e4e9d3d4 100644 (file)
@@ -3305,10 +3305,7 @@ extern int rtx_equal_function_value_matters;
                 & ~ 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)) \
+      : gen_rtx_MEM (Pmode, return_address_pointer_rtx)) \
    : NULL_RTX)
 
 #endif /* ! GCC_SH_H */