* decl2.c (do_using_directive): Revert previous patch.
authorMark Mitchell <mark@codesourcery.com>
Wed, 2 May 2001 12:23:08 +0000 (12:23 +0000)
committerAndreas Jaeger <aj@gcc.gnu.org>
Wed, 2 May 2001 12:23:08 +0000 (14:23 +0200)
From-SVN: r41759

gcc/cp/ChangeLog
gcc/cp/decl2.c

index c3b8cf0267d4ea9be5207287685fe6fa82bf9c13..3576124e5bb5d746922b90512cdf9316c0bedeaa 100644 (file)
@@ -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.
index bc6a989746712854ac39ff237b75326f53b78d29..b4b3c7fb49c8e54ef99b541fea890c936f8b1503 100644 (file)
@@ -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)