diff options
author | Richard Guenther <rguenther@suse.de> | 2011-07-06 10:03:05 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-07-06 10:03:05 +0000 |
commit | 1a07229414e590ca4fe245fc3e05550b58df5ff5 (patch) | |
tree | 1dffb70df948ffa400f99b16abdc37060a8e1d92 /gcc/go | |
parent | e6a64b21cb136a8b4e65f5d14cc9206e8baba54f (diff) | |
download | gcc-1a07229414e590ca4fe245fc3e05550b58df5ff5.zip gcc-1a07229414e590ca4fe245fc3e05550b58df5ff5.tar.gz gcc-1a07229414e590ca4fe245fc3e05550b58df5ff5.tar.bz2 |
tree.c (build_common_tree_nodes_2): Merge with build_common_tree_nodes.
2011-07-06 Richard Guenther <rguenther@suse.de>
* tree.c (build_common_tree_nodes_2): Merge with
build_common_tree_nodes.
* tree.h (build_common_tree_nodes): Adjust prototype.
(build_common_tree_nodes_2): Remove.
* doc/tm.texi.in (lang_hooks.builtin_function): Adjust.
* doc/tm.texi (lang_hooks.builtin_function): Regenerate.
c-family/
* c-common.c (c_common_nodes_and_builtins):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
fortran/
* f95-lang.c (gfc_init_decl_processing):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
go/
* go-lang.c (go_langhook_init):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
java/
* decl.c (java_init_decl_processing):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
lto/
* lto-lang.c (lto_init):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
ada/
* gcc-interface/misc.c (gnat_init):
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
Re-initialize boolean_false_node.
From-SVN: r175906
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/go/go-lang.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index 20385d1..fb26cab 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,8 @@ +2011-07-06 Richard Guenther <rguenther@suse.de> + + * go-lang.c (go_langhook_init): + Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. + 2011-06-14 Joseph Myers <joseph@codesourcery.com> * Make-lang.in (go/go-lang.o, go/go-backend.o): Update diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index 576e35f..6abe3b8 100644 --- a/gcc/go/go-lang.c +++ b/gcc/go/go-lang.c @@ -86,9 +86,7 @@ struct GTY(()) language_function static bool go_langhook_init (void) { - build_common_tree_nodes (false); - - build_common_tree_nodes_2 (0); + build_common_tree_nodes (false, false); /* We must create the gogo IR after calling build_common_tree_nodes (because Gogo::define_builtin_function_trees refers indirectly |