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]

templates & overloading together broken ?



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



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