From: Nathan Froyd Date: Thu, 21 Apr 2011 20:12:07 +0000 (+0000) Subject: s390.c (s390_init_builtins): Call build_function_type_list instead of build_function_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ba0a2d230502b0fcb9cb16fa78a05fd206946b6;p=gcc.git s390.c (s390_init_builtins): Call build_function_type_list instead of build_function_type. * config/s390/s390.c (s390_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r172840 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb9a94d6de1..81f351faaa0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-21 Nathan Froyd + + * config/s390/s390.c (s390_init_builtins): Call + build_function_type_list instead of build_function_type. + 2011-04-21 Nathan Froyd * config/ia64/ia64.c (ia64_init_builtins): Call diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 7d02b7f2fbf..2454c4f61d2 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -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);