From: Nathan Froyd Date: Tue, 3 May 2011 15:44:27 +0000 (+0000) Subject: sparc.c (sparc_file_end): Call build_function_type_list instead of build_function_type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c203a6ab7a2c53dc68538b9fee51a3f4d27db62;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b787ecb84c..386fd8afc95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Nathan Froyd + + * config/sparc/sparc.c (sparc_file_end): Call + build_function_type_list instead of build_function_type. + 2011-05-03 Nathan Froyd * config/alpha/alpha.c (alpha_init_builtins): Call diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 46be9040785..44ba5f77002 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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;