From 46188dcad01ec9cd70c6670b3178553c51e6455a Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 2 May 2001 12:23:08 +0000 Subject: [PATCH] * decl2.c (do_using_directive): Revert previous patch. From-SVN: r41759 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl2.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c3b8cf0267d..3576124e5bb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-05-02 Mark Mitchell + + * decl2.c (do_using_directive): Revert previous patch. + 2001-05-01 Nathan Sidwell * cp-tree.def (USING_STMT): New statement node. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index bc6a9897467..b4b3c7fb49c 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -5204,8 +5204,6 @@ do_using_directive (namespace) { if (namespace == fake_std_node) return; - if (building_stmt_tree ()) - add_stmt (build_stmt (USING_STMT, namespace)); /* using namespace A::B::C; */ if (TREE_CODE (namespace) == SCOPE_REF)