aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-13 01:43:41 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-13 01:43:41 -0700
commitaf064de51e5c824f1afb56bbc5bbf4b138c4e483 (patch)
treed9a896211b7b86323ca0988aebcee6681c40a375 /gcc/config/frv
parent0976078c73f58e7350fcc0516618fdd7737c9696 (diff)
downloadgcc-af064de51e5c824f1afb56bbc5bbf4b138c4e483.zip
gcc-af064de51e5c824f1afb56bbc5bbf4b138c4e483.tar.gz
gcc-af064de51e5c824f1afb56bbc5bbf4b138c4e483.tar.bz2
builtins.c (std_gimplify_va_arg_expr): Handle types passed by reference.
* builtins.c (std_gimplify_va_arg_expr): Handle types passed by reference. (ind_gimplify_va_arg_expr): Remove. * tree.h (ind_gimplify_va_arg_expr): Remove. * config/pa/pa.c (hppa_gimplify_va_arg_expr): Don't use it. * config/mmix/mmix.c (mmix_function_arg_pass_by_reference): Allow argsp to be null. * config/arc/arc.c (arc_gimplify_va_arg_expr): Remove. (TARGET_GIMPLIFY_VA_ARG_EXPR): Remove. * config/cris/cris.c, config/fr30/fr30.c, config/frv/frv.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mmix/mmix.c, config/mn10300/mn10300.c, config/v850/v850.c: Similarly. From-SVN: r84608
Diffstat (limited to 'gcc/config/frv')
-rw-r--r--gcc/config/frv/frv.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index 4d05bd4..9935fef 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -286,7 +286,6 @@ static void frv_output_const_unspec (FILE *,
const struct frv_unspec *);
static bool frv_function_ok_for_sibcall (tree, tree);
static rtx frv_struct_value_rtx (tree, int);
-static tree frv_gimplify_va_arg_expr (tree, tree, tree *, tree *);
static bool frv_must_pass_in_stack (enum machine_mode mode, tree type);
/* Initialize the GCC target structure. */
@@ -335,8 +334,6 @@ static bool frv_must_pass_in_stack (enum machine_mode mode, tree type);
#define TARGET_EXPAND_BUILTIN_SAVEREGS frv_expand_builtin_saveregs
#undef TARGET_SETUP_INCOMING_VARARGS
#define TARGET_SETUP_INCOMING_VARARGS frv_setup_incoming_varargs
-#undef TARGET_GIMPLIFY_VA_ARG_EXPR
-#define TARGET_GIMPLIFY_VA_ARG_EXPR frv_gimplify_va_arg_expr
struct gcc_target targetm = TARGET_INITIALIZER;
@@ -2085,18 +2082,6 @@ frv_expand_builtin_va_start (tree valist, rtx nextarg)
}
-/* Expand __builtin_va_arg to do the va_arg macro. */
-
-static tree
-frv_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p, tree *post_p)
-{
- if (AGGREGATE_TYPE_P (type))
- return ind_gimplify_va_arg_expr (valist, type, pre_p, post_p);
- else
- return std_gimplify_va_arg_expr (valist, type, pre_p, post_p);
-}
-
-
/* Expand a block move operation, and return 1 if successful. Return 0
if we should let the compiler generate normal code.