2.95.2 internal compiler error on (empty) { } body of C++ constructor
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Fri Dec 31 20:54:00 GMT 1999
> The bug is that g++ reports an internal compiler error on the
> (empty) { } body of a C++ constructor. So far as I know, the code
> in question is legal C++.
Thanks for your bug report. Please note that this is caused by the
-fsyntax-only-flag; it compiles fine if that flag is left out.
The mainline compiler (2.96 19991222 (experimental)) compiles this
fine even with the flag, so the bug appears to be fixed.
Regards,
Martin
More information about the Gcc-bugs
mailing list