summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-02 10:51:17 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-02 10:51:17 +0000
commiteaf45f93c4ee922dbe317b8b9d7e180641fc86a8 (patch)
tree500db6a75f62007cc54fa831988ec84ee2018489 /gcc/cp/dump.c
parent7672950e2e134ab782ad08e15aee8acab941402e (diff)
downloadgcc-eaf45f93c4ee922dbe317b8b9d7e180641fc86a8.tar.gz
.:
Kill -fhonor-std. * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std interaction. * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std. cp: Kill -fhonor-std. * NEWS: Document. * cp-tree.h (flag_honor_std): Remove. (CPTI_FAKE_STD): Remove. (std_node): Remove comment about it being NULL. (fake_std_node): Remove. * decl.c (in_fake_std): Remove. (walk_namespaces_r): Remove fake_std_node check. (push_namespace): Remove in_fake_std code. (pop_namespace): Likewise. (lookup_name_real): Remove fake_std_node check. (init_decl_processing): Always create std_node. Always add std:: things there. (builtin_function): Always put non '_' fns in std. * decl2.c (flag_honor_std): Remove. (lang_f_options): Remove honor-std. (unsupported_options): Add honor-std. (set_decl_namespace): Remove fake_std_node check. (validate_nonmember_using_decl): Likewise. (do_using_directive): Likewise. (handle_class_head): Likewise. * dump.c (cp_dump_tree): Likewise. * except.c (init_exception_processing): Adjust. * init.c (build_member_call): Remove fake_std_node check. (build_offset_ref): Likewise. * lang-options.h: Remove -fhonor-std, -fno-honor-std. * rtti.c (init_rtti_processing): Adjust. testsuite: Kill -fhonor-std. * g++.old-deja/g++.ns/ns14.C: Remove special options. * g++.old-deja/g++.other/std1.C: Likewise. * g++.old-deja/g++.robertl/eb133.C: Likewise. Add using directive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r--gcc/cp/dump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index 4826585c11d..17a6b30b705 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -158,10 +158,6 @@ cp_dump_tree (di, t)
break;
case NAMESPACE_DECL:
- /* The fake `::std' namespace does not have DECL_LANG_SPECIFIC,
- and therefore many other macros do not work on it. */
- if (t == fake_std_node)
- break;
if (DECL_NAMESPACE_ALIAS (t))
dump_child ("alis", DECL_NAMESPACE_ALIAS (t));
else if (!dump_flag (di, TDF_SLIM, t))