This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A warning option for confusing overload resolution
On Thu, Jul 16, 1998 at 02:15:46AM +0200, Jason Merrill wrote:
> >>>>> Andi Kleen <ak@muc.de> writes:
>
> > I would consider this a bug in egcs.
>
> > Here is a small test case to show it:
>
> > class X {};
> > void (*fptr)(X *);
>
> > f(X &x)
> > {
> > fptr(&x);
> > }
>
> This testcase compiles fine with the current CVS sources.
It did not on gcc version egcs-2.91.47 19980713 (gcc2 ss-980609 experimental)
on i686-linux-glibc2. If it is already fixed it is OK of course.
-Andi