aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-07-06 10:03:05 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-07-06 10:03:05 +0000
commit1a07229414e590ca4fe245fc3e05550b58df5ff5 (patch)
tree1dffb70df948ffa400f99b16abdc37060a8e1d92 /gcc/lto
parente6a64b21cb136a8b4e65f5d14cc9206e8baba54f (diff)
downloadgcc-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/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto-lang.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 27bc015..c80b33a 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-06 Richard Guenther <rguenther@suse.de>
+
+ * lto-lang.c (lto_init):
+ Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
+
2011-06-11 Jan Hubicka <jh@suse.cz>
PR lto/48246
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 8a4cee0..3574da0 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -1085,7 +1085,7 @@ lto_init (void)
linemap_add (line_table, LC_RENAME, 0, NULL, 0);
/* Create the basic integer types. */
- build_common_tree_nodes (flag_signed_char);
+ build_common_tree_nodes (flag_signed_char, /*short_double=*/false);
/* The global tree for the main identifier is filled in by
language-specific front-end initialization that is not run in the
@@ -1102,8 +1102,6 @@ lto_init (void)
ptrdiff_type_node = integer_type_node;
- /* Create other basic types. */
- build_common_tree_nodes_2 (/*short_double=*/false);
lto_build_c_type_nodes ();
gcc_assert (va_list_type_node);