Commit 4c203a6a by Nathan Froyd Committed by Nathan Froyd

sparc.c (sparc_file_end): Call build_function_type_list instead of build_function_type.

	* config/sparc/sparc.c (sparc_file_end): Call
	build_function_type_list instead of build_function_type.

From-SVN: r173317
parent d6a3d62b
2011-05-03 Nathan Froyd <froydnj@codesourcery.com>
* config/sparc/sparc.c (sparc_file_end): Call
build_function_type_list instead of build_function_type.
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.
......
......@@ -9613,8 +9613,8 @@ sparc_file_end (void)
{
tree decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
get_identifier (name),
build_function_type (void_type_node,
void_list_node));
build_function_type_list (void_type_node,
NULL_TREE));
DECL_RESULT (decl) = build_decl (BUILTINS_LOCATION, RESULT_DECL,
NULL_TREE, void_type_node);
TREE_STATIC (decl) = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment