diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-07-16 17:51:56 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-07-16 17:51:56 +0000 |
commit | 6a4825bda18b76ef8b0f979ef439e0007a440b8f (patch) | |
tree | b6c3c56877a471af09eccb6a32c2a8ca5b700d9e /gcc/cgraphunit.c | |
parent | c5af628dbe90df6244b33bd7c6a89fbd124068b8 (diff) | |
download | gcc-6a4825bda18b76ef8b0f979ef439e0007a440b8f.zip gcc-6a4825bda18b76ef8b0f979ef439e0007a440b8f.tar.gz gcc-6a4825bda18b76ef8b0f979ef439e0007a440b8f.tar.bz2 |
tree.c (build_common_builtin_nodes): Use build_function_type_list instead of build_function_type.
* tree.c (build_common_builtin_nodes): Use build_function_type_list
instead of build_function_type.
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Likewise.
* cgraphunit.c (cgraph_build_static_cdtor): Likewise.
From-SVN: r162264
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 47f8f76..7dce8e9 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -2017,7 +2017,7 @@ cgraph_build_static_cdtor (char which, tree body, int priority) name = get_file_function_name (which_buf); decl = build_decl (input_location, FUNCTION_DECL, name, - build_function_type (void_type_node, void_list_node)); + build_function_type_list (void_type_node, NULL_TREE)); current_function_decl = decl; resdecl = build_decl (input_location, |