This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40044] New: ICE when resolves overloaded functions
- From: "vbvan at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2009 12:51:25 -0000
- Subject: [Bug c++/40044] New: ICE when resolves overloaded functions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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