g++: syntax error causes internal compiler error instead of regular error message

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Mon Jul 19 23:11:00 GMT 1999


> #include <vector>
> class v: public std::vector {
> }

Thanks for your bug report. gcc-2.95 19990717 still crashes,
unfortunately. Of course, this is caused by an error in the program:
you should either supply template parameters to vector, or v should be
a template itself. Still, it is a compiler bug: It should not crash.

Regards,
Martin


More information about the Gcc-bugs mailing list