Internal compiler error
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999
> Hi. Got an internal g++ compiler error on the attached C++ program.
> I trimmed down the program as much as I could -- removing the
> constructor declaration, the field a, or the declaration C x gets
> rid of the problem. So does changing n to const int.
Thanks for your bug report. Please note that the program is invalid
C++, as shown by 'g++ -pedantic'
comperr.cpp:5: warning: ANSI C++ forbids variable-size array `a'
The compiler still should not crash.
Regards,
Martin
More information about the Gcc-bugs
mailing list