Bug Report
Joseph Sirosh
js@hnc.com
Mon Jan 12 14:49:00 GMT 1998
I compiled and installed egcs on a Sun Ultra Enterprise 6000 (Ultrasparc)
machine. While compiling one of my programs, I got an Internal Compiler
Error. Here's the error output
==========================================================================
g++ -I/work/cvim1/joseph/egcs/include -c -g -DXWINDOW -DMOTIF -I/usr/include -I/usr/local/include -I. -I/usr/openwin/share/include -I/export/home/dt/share/include lissom.cc
In file included from lissom.h:21,
from lissom.cc:14:
/usr/include/math.h:19: warning: `__P' redefined
/usr/local/include/sys/cdefs.h:58: warning: this is the location of the previous definition
lissom.cc: In method `Input::Input(char *, int = 1024, int = 50)':
lissom.cc:495: Internal compiler error.
lissom.cc:495: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [lissom.o] Error 1
==========================================================================
Line 495 reads
act.Matrix(blocksize,dimension);
The error appeared to have been caused by an explicit call to a constructor.
The object act is of the class Matrix, and at this line, the constructor for
the object is being called explicitly.
--Joseph
More information about the Gcc-bugs
mailing list