use build_function_type_list in the pa backend

Submitted by Nathan Froyd on April 20, 2011, 7:57 p.m.

Details

Message ID 20110420195732.GO6507@nightcrawler
State New
Headers show

Commit Message

Nathan Froyd April 20, 2011, 7:57 p.m.
As $SUBJECT suggests.  Tested with cross to hppa-linux-gnu.  OK to
commit?

-Nathan

	* config/pa/pa.c (pa_init_builtins): Call build_function_type_list
	instead of build_function_type.

Patch hide | download patch | download mbox

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);