This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20905] [3.4/4.0/4.1 Regression] confuses unrelated type name with instance name
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2005 16:58:01 -0000
- Subject: [Bug c++/20905] [3.4/4.0/4.1 Regression] confuses unrelated type name with instance name
- References: <20050408165413.20905.boris@kolpackov.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-08 16:58 -------
Confirmed, most reduced testcase:
struct name {};
void g ()
{
if (int name = 1)
;
}
: Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160).
Looks like it was introduced by the new C++ parser.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-04-08 16:58:00
date| |
Summary|confuses unrelated type name|[3.4/4.0/4.1 Regression]
|with instance name |confuses unrelated type name
| |with instance name
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20905