From mboxrd@z Thu Jan 1 00:00:00 1970 From: js@hnc.com (Joseph Sirosh) To: egcs-bugs@cygnus.com Cc: sirosh@hnc.com Subject: Bug Report Date: Mon, 12 Jan 1998 14:49:00 -0000 Message-id: <199801122244.OAA08667@fraud10.noxa> X-SW-Source: 1998-01/msg00182.html List-Id: 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