[Bug c++/20905] [3.4/4.0/4.1 Regression] confuses unrelated type name with instance name
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 8 16:58:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list