This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
templates & overloading together broken ?
- To: egcs-bugs at cygnus dot com
- Subject: templates & overloading together broken ?
- From: David C Binderman <dcb at pncl dot co dot uk>
- Date: Fri, 17 Jul 1998 20:49:15 +0100 (BST)
Hello there,
for the following source code on Linux/Alpha,
template <class T>
void f(T)
{
}
typedef void (*fp)(int);
void g(fp)
{
}
void h()
{
g(f);
}
I got
jul17b.cc: In function `void h()':
jul17b.cc:15: Error: Internal compiler error 390.
jul17b.cc:15: Error: Please submit a full bug report to `egcs-bugs@cygnus.com'.
Regards
David C Binderman MSc BSc +44 1293 534847 dcb@pncl.co.uk