aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-05-02 12:23:08 +0000
committerAndreas Jaeger <aj@gcc.gnu.org>2001-05-02 14:23:08 +0200
commit46188dcad01ec9cd70c6670b3178553c51e6455a (patch)
treef273eab421309b5042d71a2512dfd2b445fb2924
parent552aae17f2d5e221b352c7c7f2b987e11bfcad05 (diff)
downloadgcc-46188dcad01ec9cd70c6670b3178553c51e6455a.zip
gcc-46188dcad01ec9cd70c6670b3178553c51e6455a.tar.gz
gcc-46188dcad01ec9cd70c6670b3178553c51e6455a.tar.bz2
* decl2.c (do_using_directive): Revert previous patch.
From-SVN: r41759
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl2.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c3b8cf0..3576124 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-02 Mark Mitchell <mark@codesourcery.com>
+
+ * decl2.c (do_using_directive): Revert previous patch.
+
2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.def (USING_STMT): New statement node.
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index bc6a989..b4b3c7f 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)