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++/40044] New: ICE when resolves overloaded functions


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


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