------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-21
01:50 -------
There were only two patches to the C++ front-end during that time period. Both
were by the same
person and they both touched the namelookup code.
2004-07-14 Mark Mitchell <[EMAIL PROTECTED]>
2004-07-13 Mark Mitchell <[EMAIL PROTECTED]>
The part which looks like caused this problem is:
* name-lookup.c (pushdecl): Use lookup_member, not
IDENTIFIER_CLASS_VALUE.
The problem relates to this testcase:
struct A
{
int f(void);
void foo(int f) {}
};
note how f is a real member here and we warn about it but since __ct and __dt,
I think refers to the
construtor and deconstrutor so we get the overloaded set for them too.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org, mark at codesourcery
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18530