sh.c (sh_canonical_va_list_type): Remove.

* config/sh/sh.c (sh_canonical_va_list_type): Remove.
	(TARGET_CANONICAL_VA_LIST_TYPE): Remove.

From-SVN: r138437
This commit is contained in:
Kaz Kojima 2008-07-31 21:23:04 +00:00
parent 60ecfb1bd0
commit c983efcec6
2 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2008-07-31 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_canonical_va_list_type): Remove.
(TARGET_CANONICAL_VA_LIST_TYPE): Remove.
2008-07-31 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/36419

View File

@ -260,7 +260,6 @@ static void sh_setup_incoming_varargs (CUMULATIVE_ARGS *, enum machine_mode, tre
static bool sh_strict_argument_naming (CUMULATIVE_ARGS *);
static bool sh_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *);
static tree sh_build_builtin_va_list (void);
static tree sh_canonical_va_list_type (tree);
static void sh_va_start (tree, rtx);
static tree sh_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
static bool sh_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode,
@ -442,8 +441,6 @@ static int sh2a_function_vector_p (tree);
#undef TARGET_BUILD_BUILTIN_VA_LIST
#define TARGET_BUILD_BUILTIN_VA_LIST sh_build_builtin_va_list
#undef TARGET_CANONICAL_VA_LIST_TYPE
#define TARGET_CANONICAL_VA_LIST_TYPE sh_canonical_va_list_type
#undef TARGET_EXPAND_BUILTIN_VA_START
#define TARGET_EXPAND_BUILTIN_VA_START sh_va_start
#undef TARGET_GIMPLIFY_VA_ARG_EXPR
@ -7148,14 +7145,6 @@ sh_build_builtin_va_list (void)
return record;
}
/* Return always va_list_type_node. */
static tree
sh_canonical_va_list_type (tree type ATTRIBUTE_UNUSED)
{
return va_list_type_node;
}
/* Implement `va_start' for varargs and stdarg. */
static void