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:
parent
baeec5f2d8
commit
de530b8638
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user