This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14510] [3.4/3.5 Regression] Lookup error between function name and struct name
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2004 04:08:13 -0000
- Subject: [Bug c++/14510] [3.4/3.5 Regression] Lookup error between function name and struct name
- References: <20040310065525.14510.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-11 04:08 -------
Subject: Bug 14510
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-03-11 04:08:03
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog decl.c
Added files:
gcc/testsuite/g++.dg/lookup: struct2.C
Log message:
PR c++/14510
* decl.c (xref_tag): Disregard non-type declarations when
looking up a tagged type.
PR c++/14510
* g++.dg/lookup/struct2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.137&r2=1.3389.2.138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/struct2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.79&r2=1.3892.2.80
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174.2.12&r2=1.1174.2.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14510