diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-08-02 10:51:17 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-08-02 10:51:17 +0000 |
commit | 1dbb6023c73cfb340b24d8c81cf31f41f8f1805b (patch) | |
tree | 500db6a75f62007cc54fa831988ec84ee2018489 /gcc/cp/dump.c | |
parent | d6b6ba29213242c1e0ce9cc9a63a4632e1f01ca2 (diff) | |
download | gcc-1dbb6023c73cfb340b24d8c81cf31f41f8f1805b.zip gcc-1dbb6023c73cfb340b24d8c81cf31f41f8f1805b.tar.gz gcc-1dbb6023c73cfb340b24d8c81cf31f41f8f1805b.tar.bz2 |
Kill -fhonor-std.
.: 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.
From-SVN: r44569
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index 4826585..17a6b30 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)) |