On Wed, Apr 20, 2011 at 9:43 PM, Nathan Froyd <froy...@codesourcery.com> wrote:
> As $SUBJECT suggests.  Tested with cross to s390-linux-gnu.  OK to
> commit?
Those kind of patches are pretty obvious, so if $target maintainers do not
comment within 48h consider them approved.

Thanks,
Richard.

> -Nathan
>
>        * config/s390/s390.c (s390_init_builtins): Call
>        build_function_type_list instead of build_function_type.
>
> diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
> index caee077..adacfa3 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);
>
>

Reply via email to