The following code will ICE: template<typename T> void f(T*);
template<typename T,void (*)(T*)> struct A {}; template<typename T> void g(A<T,f<T> > *); int main() { g((A<int,f<int> >*)0); } -- Summary: ICE when resolves overloaded functions Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vbvan at 163 dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40044