]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* targhooks.c (default_function_value): Don't use
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 08:17:18 +0000 (08:17 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 08:17:18 +0000 (08:17 +0000)
FUNCTION_OUTGOING_VALUE.
* system.h (FUNCTION_OUTGOING_VALUE): Poison.
* doc/tm.texi (FUNCTION_OUTGOING_VALUE): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160656 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/tm.texi
gcc/system.h
gcc/targhooks.c

index 0102777ed2dbeaf78983dfcee10ee2b4caca9b8c..bfd89e2e70ab153631579c56f7acafff95141e77 100644 (file)
@@ -1,3 +1,10 @@
+2010-06-12  Anatoly Sokolov  <aesok@post.ru>
+
+       * targhooks.c (default_function_value): Don't use
+       FUNCTION_OUTGOING_VALUE.
+       * system.h (FUNCTION_OUTGOING_VALUE): Poison.
+       * doc/tm.texi (FUNCTION_OUTGOING_VALUE): Removed.
+
 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
 
        * config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*,
index 12f7d81b68f4214a4ec3a1360e5f6e43d7ef164d..dd549104950210a0cde7c2cccfbfbf6472fa6bb1 100644 (file)
@@ -4445,11 +4445,6 @@ This macro has been deprecated.  Use @code{TARGET_FUNCTION_VALUE} for
 a new target instead.
 @end defmac
 
-@defmac FUNCTION_OUTGOING_VALUE (@var{valtype}, @var{func})
-This macro has been deprecated.  Use @code{TARGET_FUNCTION_VALUE} for
-a new target instead.
-@end defmac
-
 @defmac LIBCALL_VALUE (@var{mode})
 A C expression to create an RTX representing the place where a library
 function returns a value of mode @var{mode}.
index 29b7cd230506c5b263c47658e97e7d969819e271..ebcc2303d0ce20d3609faae13e7019692c703ada 100644 (file)
@@ -1,7 +1,7 @@
 /* Get common system includes and various definitions and declarations based
    on autoconf macros.
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008,
-   2009
+   2009, 2010
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -768,7 +768,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
        SMALL_ARG_MAX ASM_OUTPUT_SHARED_BSS ASM_OUTPUT_SHARED_COMMON       \
        ASM_OUTPUT_SHARED_LOCAL ASM_MAKE_LABEL_LINKONCE                    \
        STACK_CHECK_PROBE_INTERVAL STACK_CHECK_PROBE_LOAD                  \
-       ORDER_REGS_FOR_LOCAL_ALLOC
+       ORDER_REGS_FOR_LOCAL_ALLOC FUNCTION_OUTGOING_VALUE
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE  \
index 821b83f9d23078fa0fe508a5c91dae1d0f09a991..6c1d2588e44324c80d2752374e8a10fa1df3a3e5 100644 (file)
@@ -673,11 +673,6 @@ default_function_value (const_tree ret_type ATTRIBUTE_UNUSED,
       && !DECL_P (fn_decl_or_type))
     fn_decl_or_type = NULL;
 
-#ifdef FUNCTION_OUTGOING_VALUE
-  if (outgoing)
-    return FUNCTION_OUTGOING_VALUE (ret_type, fn_decl_or_type);
-#endif
-
 #ifdef FUNCTION_VALUE
   return FUNCTION_VALUE (ret_type, fn_decl_or_type);
 #else