aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2005-07-27 11:31:36 -0700
committerDevang Patel <dpatel@gcc.gnu.org>2005-07-27 11:31:36 -0700
commit2c01f8df1ea152d9bc06d053aa84da49ea35c346 (patch)
tree8af39d65ba544bd2cbfbdd5ce5b1fcc59c708aac /gcc
parenta9fdd4720c522c52f4345fcc088ddb74398fd669 (diff)
downloadgcc-2c01f8df1ea152d9bc06d053aa84da49ea35c346.zip
gcc-2c01f8df1ea152d9bc06d053aa84da49ea35c346.tar.gz
gcc-2c01f8df1ea152d9bc06d053aa84da49ea35c346.tar.bz2
* name-lookup.c (pushtag): Do no set DECL_IGNORED_P bit.
From-SVN: r102437
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/name-lookup.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a9c8dd0..da39c84 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index 4f64fa0..3d49f90 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -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