2.95.1 internal compiler error on template instantiation
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Thu Sep 30 19:57:00 GMT 1999
> [I think this input is valid C++, but even if it isn't,
> gcc should give an appropriate error message rather than
> an internal compiler error.]
Thanks for your bug report. The mainline compiler does not crash
anymore. Instead, it says
tbug.cc: In method `fp fd_grid::partial_x<X_axis>(int, int, int) const':
tbug.cc:110: instantiated from here
tbug.cc:83: `fd_grid::fd_data' is not a valid template argument
which seems to be the problem.
Regards,
Martin
More information about the Gcc-bugs
mailing list