summaryrefslogtreecommitdiff
path: root/gcc/config/d30v/d30v.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/d30v/d30v.c')
-rw-r--r--gcc/config/d30v/d30v.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/d30v/d30v.c b/gcc/config/d30v/d30v.c
index 4093ab27abf..aadba9d794c 100644
--- a/gcc/config/d30v/d30v.c
+++ b/gcc/config/d30v/d30v.c
@@ -55,6 +55,7 @@ static void d30v_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
static int d30v_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static int d30v_issue_rate PARAMS ((void));
static bool d30v_rtx_costs PARAMS ((rtx, int, int, int *));
+static tree d30v_build_builtin_va_list PARAMS ((void));
/* Define the information needed to generate branch and scc insns. This is
stored from the compare operation. */
@@ -105,6 +106,9 @@ enum reg_class reg_class_from_letter[256];
#undef TARGET_ADDRESS_COST
#define TARGET_ADDRESS_COST hook_int_rtx_0
+#undef TARGET_BUILD_BUILTIN_VA_LIST
+#define TARGET_BUILD_BUILTIN_VA_LIST d30v_build_builtin_va_list
+
struct gcc_target targetm = TARGET_INITIALIZER;
/* Sometimes certain combinations of command options do not make
@@ -2201,8 +2205,8 @@ d30v_setup_incoming_varargs (cum, mode, type, pretend_size, second_time)
/* Create the va_list data type. */
-tree
-d30v_build_va_list ()
+static tree
+d30v_build_builtin_va_list ()
{
tree f_arg_ptr, f_arg_num, record, type_decl;
tree int_type_node;