From: Nathan Froyd Date: Tue, 3 May 2011 15:43:00 +0000 (+0000) Subject: xtensa.c (xtensa_init_builtins): Call build_function_type_list instead of build_funct... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de530b863810bd97092bd107ef289681c8bae61a;p=gcc.git xtensa.c (xtensa_init_builtins): Call build_function_type_list instead of build_function_type. * config/xtensa/xtensa.c (xtensa_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r173315 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a564ac616e2..af3dbb0cc9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Nathan Froyd + + * config/xtensa/xtensa.c (xtensa_init_builtins): Call + build_function_type_list instead of build_function_type. + 2011-05-03 Nathan Froyd * config/iq2000/i2000.c (iq2000_init_builtins): Call diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index c312f50eca2..fe5798ec9ae 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -3097,7 +3097,7 @@ xtensa_init_builtins (void) if (TARGET_THREADPTR) { - ftype = build_function_type (ptr_type_node, void_list_node); + ftype = build_function_type_list (ptr_type_node, NULL_TREE); decl = add_builtin_function ("__builtin_thread_pointer", ftype, XTENSA_BUILTIN_THREAD_POINTER, BUILT_IN_MD, NULL, NULL_TREE);