This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40044] ICE when resolves overloaded functions
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2009 18:56:45 -0000
- Subject: [Bug c++/40044] ICE when resolves overloaded functions
- References: <bug-40044-16091@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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