s390.c (s390_init_builtins): Call build_function_type_list instead of build_function_...
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 21 Apr 2011 20:12:07 +0000 (20:12 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 21 Apr 2011 20:12:07 +0000 (20:12 +0000)
* config/s390/s390.c (s390_init_builtins): Call
build_function_type_list instead of build_function_type.

From-SVN: r172840

gcc/ChangeLog
gcc/config/s390/s390.c

index eb9a94d6de1358213799eee83b0c15a36c475fab..81f351faaa0accfe35574d76dd0f61b160368f0d 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-21  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/s390/s390.c (s390_init_builtins): Call
+       build_function_type_list instead of build_function_type.
+
 2011-04-21  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/ia64/ia64.c (ia64_init_builtins): Call
index 7d02b7f2fbfe144db1e83a866ec3b7e1378710e5..2454c4f61d243a554ee1b5aa24ddf5942cc6bfaf 100644 (file)
@@ -9172,7 +9172,7 @@ s390_init_builtins (void)
 {
   tree ftype;
 
-  ftype = build_function_type (ptr_type_node, void_list_node);
+  ftype = build_function_type_list (ptr_type_node, NULL_TREE);
   add_builtin_function ("__builtin_thread_pointer", ftype,
                        S390_BUILTIN_THREAD_POINTER, BUILT_IN_MD,
                        NULL, NULL_TREE);