This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12773] [3.3 Regression] ICE on overladed functions passed as function pointers


------- Additional Comments From mark at codesourcery dot com  2003-12-04 10:45 -------
Subject: Re:  [3.3 Regression] ICE on overladed functions
	passed as function pointers

On Wed, 2003-12-03 at 16:20, reichelt at gcc dot gnu dot org wrote:
> ------- Additional Comments From reichelt at gcc dot gnu dot org  2003-12-04 00:19 -------
> Here's a shorter testcase without templates:
> 
> ============================================
> struct A {};
> 
> struct B : A
> {
>     static void foo(int);
>     static void foo(short);
> };
> 
> void bar(void (*)(short) = B::foo);
> 
> void quus() { bar(); }
> ============================================
> 
> 
> On mainline the bug was fixed by Mark's patch
> 
> http://gcc.gnu.org/ml/gcc-cvs/2003-01/msg00713.html
> 
> Mark, is there a chance for a backport?

I wouldn't recommend it, and I don't intend to do a backport, but it's
Gaby's call.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12773


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]