egcs-1.1.2 interal compiler error (template problem)
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Sat Jul 31 23:33:00 GMT 1999
> In egcs-1.1.2, the following (ill-formed) C++ program generates an
> "interal compiler error":
Thanks for your bug report. gcc-2.95 19990701 says
a.cc: In instantiation of `x<int>::y':
a.cc:1: instantiated from `x<int>'
a.cc:2: instantiated from here
a.cc:1: base type `int' fails to be a struct or class type
Regards,
Martin
More information about the Gcc-bugs
mailing list