[Bug c++/12773] [3.3 Regression] ICE on overladed functions passed as function pointers
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 00:20:00 GMT 2003
------- 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?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Summary|[3.3 Regression] ICE on |[3.3 Regression] ICE on
|overladed functions passed |overladed functions passed
|as function pointers in |as function pointers
|templated class |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12773
More information about the Gcc-bugs
mailing list