This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3784: function not found if...
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, holt at gholt dot net, nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Fri, 3 Jan 2003 05:22:14 -0500
- Subject: Re: c++/3784: function not found if...
- Reply-to: neroden at twcny dot rr dot com
I did some further work on this. The binding for foo2 is created at the
bottom of binding_for_name, and as soon as it's created, it's wrong. It
somehow thinks that foo2 is an OVERLOAD with two pieces: the real foo2, and
foo1. This is clearly wrong.
However, I haven't been able to figure out where this inaccurate overload is
created. Both functions come out of the parser correctly.
--Nathanael