* name-lookup.c (pushtag): Do no set DECL_IGNORED_P bit.
authorDevang Patel <dpatel@apple.com>
Wed, 27 Jul 2005 18:31:36 +0000 (11:31 -0700)
committerDevang Patel <dpatel@gcc.gnu.org>
Wed, 27 Jul 2005 18:31:36 +0000 (11:31 -0700)
From-SVN: r102437

gcc/cp/ChangeLog
gcc/cp/name-lookup.c

index a9c8dd03e911313a105f87b1a56e48c3b6ba05b6..da39c84402e8019fe0c62040443614f811476ab7 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-27  Devang Patel  <dpatel@apple.com>
+
+       * name-lookup.c (pushtag): Do no set DECL_IGNORED_P bit.
+       
 2005-07-25  Ian Lance Taylor  <ian@airs.com>
 
        * ptree.c (cxx_print_identifier): Print a leading space if the
index 4f64fa03684142bac977f9a6e0c1cef2de6a633d..3d49f90566065788b9c2de37a19b81d8b0019bf5 100644 (file)
@@ -4716,10 +4716,6 @@ pushtag (tree name, tree type, tag_scope scope)
          if (d == error_mark_node)
            POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, error_mark_node);
 
-         /* FIXME what if it gets a name from typedef?  */
-         if (ANON_AGGRNAME_P (name))
-           DECL_IGNORED_P (d) = 1;
-
          TYPE_CONTEXT (type) = DECL_CONTEXT (d);
 
          /* If this is a local class, keep track of it.  We need this