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
This commit is contained in:
Nathan Froyd 2011-05-03 15:43:00 +00:00 committed by Nathan Froyd
parent baeec5f2d8
commit de530b8638
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-05-03 Nathan Froyd <froydnj@codesourcery.com>
* config/xtensa/xtensa.c (xtensa_init_builtins): Call
build_function_type_list instead of build_function_type.
2011-05-03 Nathan Froyd <froydnj@codesourcery.com>
* config/iq2000/i2000.c (iq2000_init_builtins): Call

View File

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