Internal compiler error 892

Vasilis Vlachoudis Vasilis.Vlachoudis@cern.ch
Thu Nov 5 00:37:00 GMT 1998


Hello

I've recently upgraded my linux, and I've install the egcs++ compiler
version
$ c++ -v
Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

and when I've tried to recompile the following program, I've got
the following message.

c++ -c -g -pg -I/afs/cern.ch/user/v/vvlachou/inc -I../../class/inc
-I../inc -D__DEBUG=2 basereg.cc 
basereg.cc:111: Internal compiler error 892.
basereg.cc:111: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [basereg.o] Error 1

The reported line is the begining of the destructor
/* -------------- ~TBaseRegion ---------------- */
TBaseRegion::~TBaseRegion( const char *aName )
{ // 111 - line is here    ^^^^^^^^^^^^^^^^^

The problem occurs because I've passed an argument to the destructor
(which is wrong) and it not declared in the class. But instead of
issuing an error message, it produces
an internal compiler error.

Hope it helps.

Best Regards
Vassilis




More information about the Gcc-bugs mailing list