diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-16 17:51:56 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-16 17:51:56 +0000 |
commit | dbdf4b3183c88b679cdb0b2741b5cb7891b67f54 (patch) | |
tree | b6c3c56877a471af09eccb6a32c2a8ca5b700d9e /gcc/tree-ssa-loop-prefetch.c | |
parent | 3336fc85d29202e4d33cbd9b23f56332ea7ea383 (diff) |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
-rw-r--r-- | gcc/tree-ssa-loop-prefetch.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c index a5b511262f9e..1932d05c366e 100644 --- a/gcc/tree-ssa-loop-prefetch.c +++ b/gcc/tree-ssa-loop-prefetch.c @@ -1903,10 +1903,8 @@ tree_ssa_prefetch_arrays (void) if (!built_in_decls[BUILT_IN_PREFETCH]) { - tree type = build_function_type (void_type_node, - tree_cons (NULL_TREE, - const_ptr_type_node, - NULL_TREE)); + tree type = build_function_type_list (void_type_node, + const_ptr_type_node, NULL_TREE); tree decl = add_builtin_function ("__builtin_prefetch", type, BUILT_IN_PREFETCH, BUILT_IN_NORMAL, NULL, NULL_TREE); |