pa.c (pa_init_builtins): Call build_function_type_list instead of build_function_type.
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 20 Apr 2011 20:21:35 +0000 (20:21 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 20 Apr 2011 20:21:35 +0000 (20:21 +0000)
* config/pa/pa.c (pa_init_builtins): Call build_function_type_list
instead of build_function_type.

From-SVN: r172794

gcc/ChangeLog
gcc/config/pa/pa.c

index cc9014cde346add9a308af7a3bef151496a3e008..75ccb5e4f5a032fa3c740f60c07a67bdafdff62e 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-20  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/pa/pa.c (pa_init_builtins): Call build_function_type_list
+       instead of build_function_type.
+
 2011-04-20  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/48678
index e05cf192344404353859ca05043deba1665366dd..aeb806133830e449bb27129bf846cd019ee9e546 100644 (file)
@@ -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);