alpha.c (alpha_init_builtins): Call build_function_type_list instead of build_function_type.

* config/alpha/alpha.c (alpha_init_builtins): Call
	build_function_type_list instead of build_function_type.

From-SVN: r173316
This commit is contained in:
Nathan Froyd 2011-05-03 15:43:49 +00:00 committed by Nathan Froyd
parent de530b8638
commit d6a3d62b5f
2 changed files with 7 additions and 2 deletions

View File

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

View File

@ -6408,7 +6408,7 @@ alpha_init_builtins (void)
implicit_built_in_decls[(int) BUILT_IN_FWRITE_UNLOCKED] = NULL_TREE; implicit_built_in_decls[(int) BUILT_IN_FWRITE_UNLOCKED] = NULL_TREE;
#endif #endif
ftype = build_function_type (dimode_integer_type_node, void_list_node); ftype = build_function_type_list (dimode_integer_type_node, NULL_TREE);
alpha_add_builtins (zero_arg_builtins, ARRAY_SIZE (zero_arg_builtins), alpha_add_builtins (zero_arg_builtins, ARRAY_SIZE (zero_arg_builtins),
ftype); ftype);
@ -6423,7 +6423,7 @@ alpha_init_builtins (void)
alpha_add_builtins (two_arg_builtins, ARRAY_SIZE (two_arg_builtins), alpha_add_builtins (two_arg_builtins, ARRAY_SIZE (two_arg_builtins),
ftype); ftype);
ftype = build_function_type (ptr_type_node, void_list_node); ftype = build_function_type_list (ptr_type_node, NULL_TREE);
alpha_builtin_function ("__builtin_thread_pointer", ftype, alpha_builtin_function ("__builtin_thread_pointer", ftype,
ALPHA_BUILTIN_THREAD_POINTER, ECF_NOTHROW); ALPHA_BUILTIN_THREAD_POINTER, ECF_NOTHROW);