aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2011-04-20 20:21:35 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2011-04-20 20:21:35 +0000
commit125264127137f9583988b172010e39217395628f (patch)
treeb04a6a20b2e9dfc9b72d8ce696e1da5e0766f50b /gcc/config/pa
parent3b84d61f446425ee51e583b1cf1540b7a5fe636e (diff)
downloadgcc-125264127137f9583988b172010e39217395628f.zip
gcc-125264127137f9583988b172010e39217395628f.tar.gz
gcc-125264127137f9583988b172010e39217395628f.tar.bz2
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index e05cf19..aeb8061 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);