From 125264127137f9583988b172010e39217395628f Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 20 Apr 2011 20:21:35 +0000 Subject: [PATCH] pa.c (pa_init_builtins): Call build_function_type_list instead of build_function_type. * config/pa/pa.c (pa_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r172794 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc9014cde34..75ccb5e4f5a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-20 Nathan Froyd + + * config/pa/pa.c (pa_init_builtins): Call build_function_type_list + instead of build_function_type. + 2011-04-20 Uros Bizjak PR target/48678 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index e05cf192344..aeb80613383 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -641,7 +641,7 @@ pa_init_builtins (void) TREE_READONLY (decl) = 1; pa_builtins[PA_BUILTIN_COPYSIGNQ] = decl; - ftype = build_function_type (long_double_type_node, void_list_node); + ftype = build_function_type_list (long_double_type_node, NULL_TREE); decl = add_builtin_function ("__builtin_infq", ftype, PA_BUILTIN_INFQ, BUILT_IN_MD, NULL, NULL_TREE); -- 2.30.2