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] ICE when resolves overloaded functions



------- Comment #1 from dodji at gcc dot gnu dot org  2009-05-16 18:56 -------
ICE confirmed on 4.3.2.

On, trunk I get the following error message:
test.cc: In function ?int main()?:
test.cc:12: sorry, unimplemented: mangling template_id_expr

The input file with numbered line is:

     1  template<typename T>
     2  void f(T*);
     3  
     4  template<typename T,void (*)(T*)>
     5  struct A {};
     6  
     7  template<typename T>
     8  void g(A<T,f<T> > *);
     9  
    10  int main()
    11  {
    12    g((A<int,f<int> >*)0);
    13  }
    14  


-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-16 18:56:45
               date|                            |


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]