summaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-05 14:39:30 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-05 14:39:30 +0000
commite593356bdcb9535e9e225682fb58e9f111a9bd41 (patch)
treef391ed6d53fb9f966d7fd03f3dfafdac098f4acd /gcc/cp
parent2a556654cacdccf03b05488f557f3619951c82d2 (diff)
downloadgcc-e593356bdcb9535e9e225682fb58e9f111a9bd41.tar.gz
2011-07-05 Richard Guenther <rguenther@suse.de>
c-family/ * c-common.c (c_common_nodes_and_builtins): Build all common tree nodes first. * c-decl.c (c_init_decl_processing): Defer building common tree nodes to c_common_nodes_and_builtins. cp/ * decl.c (cxx_init_decl_processing): Defer building common tree nodes to c_common_nodes_and_builtins. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175856 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 90a80ee2f14..d3aa1a9dd84 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-05 Richard Guenther <rguenther@suse.de>
+
+ * decl.c (cxx_init_decl_processing): Defer building common
+ tree nodes to c_common_nodes_and_builtins.
+
2011-07-04 Jason Merrill <jason@redhat.com>
DR 1207
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 94d686d3aef..e36739b38d6 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -3518,8 +3518,6 @@ cxx_init_decl_processing (void)
tree void_ftype;
tree void_ftype_ptr;
- build_common_tree_nodes (flag_signed_char);
-
/* Create all the identifiers we need. */
initialize_predefined_identifiers ();
@@ -3536,8 +3534,6 @@ cxx_init_decl_processing (void)
TREE_PUBLIC (global_namespace) = 1;
begin_scope (sk_namespace, global_namespace);
- current_lang_name = NULL_TREE;
-
if (flag_visibility_ms_compat)
default_visibility = VISIBILITY_HIDDEN;