mirror of git://gcc.gnu.org/git/gcc.git
targhooks.c (default_function_value): Don't use FUNCTION_OUTGOING_VALUE.
* targhooks.c (default_function_value): Don't use FUNCTION_OUTGOING_VALUE. * system.h (FUNCTION_OUTGOING_VALUE): Poison. * doc/tm.texi (FUNCTION_OUTGOING_VALUE): Removed. From-SVN: r160656
This commit is contained in:
parent
48b09a925e
commit
153a30276e
|
@ -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*,
|
||||
|
|
|
@ -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}.
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue