diff options
author | Richard Guenther <rguenther@suse.de> | 2011-07-05 14:39:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-07-05 14:39:30 +0000 |
commit | fce5dddd3da4c6b9818b60a358b1e4869f922114 (patch) | |
tree | f391ed6d53fb9f966d7fd03f3dfafdac098f4acd /gcc/cp | |
parent | 12037899ea37255a21d90902bb00c1183fc17fb6 (diff) | |
download | gcc-fce5dddd3da4c6b9818b60a358b1e4869f922114.zip gcc-fce5dddd3da4c6b9818b60a358b1e4869f922114.tar.gz gcc-fce5dddd3da4c6b9818b60a358b1e4869f922114.tar.bz2 |
c-common.c (c_common_nodes_and_builtins): Build all common tree nodes first.
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.
From-SVN: r175856
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 90a80ee..d3aa1a9 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 94d686d..e36739b 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; |