This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20293] [3.4/4.0/4.1 regression] Wrong diagnostic for ambiguous access
- From: "lerdsuwa 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 2005 16:27:40 -0000
- Subject: [Bug c++/20293] [3.4/4.0/4.1 regression] Wrong diagnostic for ambiguous access
- References: <20050302221934.20293.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-11 16:27 -------
The diagnostic is missing due to calling lookup_name_real inside
cp_parser_lookup_name without the LOOKUP_COMPLAIN flag. Too bad
we cannot just add this flag because this will cause duplicate
error messages. cp_parser_lookup_name are called multiple times
during tentative parse.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20293