aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-08 02:13:29 +0000
committerKazu Hirata <kazu@cs.umass.edu>2004-02-08 02:13:29 +0000
commit44b2a3eec97a82f018bf0936c4a3ef6a9d465fcc (patch)
tree000273995d5b400db2cc3a450340bd3813c569cb /gcc/targhooks.h
parentdfab50a7371dfc2a6adc1353d84e96123df0e6b5 (diff)
* default.h (PROMOTE_PROTOTYPES): Remove.
* system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES, STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS): Poison. * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as hook_bool_tree_false. (TARGET_PROMOTE_PROTOTYPES): Likewise. * target.h: Replace SETUP_INCOMING_VARARGS with targetm.calls.setup_incoming_varargs(). * targhooks.c (default_promote_function_return): Remove. (default_promote_prototypes): Likewise. (default_struct_value_rtx): Always abort(). (default_expand_builtin_saveregs): Always print an error message. (default_setup_incoming_varargs): Do nothing. (default_pretend_outgoing_varargs_named): Don't depend on SETUP_INCOMING_VARARGS. * targhooks.h: Remove the prototype for default_promote_function_return and default_promote_prototypes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@77477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 56fb45ff446..2de18e75bb6 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -23,9 +23,6 @@ extern void default_external_libcall (rtx);
extern enum machine_mode default_cc_modes_compatible (enum machine_mode,
enum machine_mode);
-extern bool default_promote_function_return (tree);
-extern bool default_promote_prototypes (tree);
-
extern rtx default_struct_value_rtx (tree, int);
extern bool default_return_in_memory (tree, tree);