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

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Feb 25 00:37:00 GMT 2000


> I have cut down this stuff to the minimum piece of code that still
> reproduces the error, so apologies if it doesn't make much sense any
> more. I expected an error message instead of a crash.

Thanks for your bug report. The mainline compiler (2.96 20000223
(experimental)) says

a.cc:5: semicolon missing after declaration of `v'
a.cc:5: parse error at end of input

so it appears the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list