g++: Internal compiler error. (egcs-1.0.2 and 1.0.3a with -O2) [reposted]
Wolfgang Reimer
reimer@e-technik.tu-ilmenau.de
Thu Aug 13 08:38:00 GMT 1998
platform: RedHat Linux 5.1 (x86) on a PentiumPro box
uname -a: Linux schwan 2.1.97 #5 SMP Thu Jul 2 02:19:15 CEST 1998 i686
unknown
compiler: egcs-1.0.2 (as shipped with RH5.1) and
egcs-1.0.3a (as egcs*-1.0.3a-1.i386.rpm from ftp.redhat.com)
c++ file: DEWiNeS_Tcl_Animation.cc from Ptolemy0.7.1p1
(for Ptolemy project see http://ptolemy.eecs.berkeley.edu/ )
How to reproduce the error: Compiling above mentioned c++ file (attached
as preprocessed and gzipped file DEWiNeS_Tcl_Animation.ii.gz) by using
the attached makefile will display:
> g++ --verbose -O2 -c -o DEWiNeS_Tcl_Animation.o
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
> gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/cc1plus DEWiNeS_Tcl_Animation.ii -quiet -O2 -version -o /tmp/cca00474.s
> GNU C++ version egcs-2.90.27 980315 (egcs-1.0.2 release) (i386-redhat-linux) compiled by GNU C version egcs-2.90.27 980315 (egcs-1.0.2 release).
> DEWiNeS_Tcl_Animation.ii: In method `class InfString TclStarIfcWiNeS::getInputValue_New()':
> DEWiNeS_Tcl_Animation.ii:8392: Internal compiler error.
> DEWiNeS_Tcl_Animation.ii:8392: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> make: *** [DEWiNeS_Tcl_Animation.o] Error 1
The same will happen with egcs-1.0.3a (the latest release):
> g++ --verbose -O2 -c DEWiNeS_Tcl_Animation.ii -o DEWiNeS_Tcl_Animation.o
> Reading specs from /usr/lib/gcc-lib/i586-linux/egcs-2.90.29/specs
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
> /usr/lib/gcc-lib/i586-linux/egcs-2.90.29/cc1plus DEWiNeS_Tcl_Animation.ii -quiet -O2 -version -o /tmp/cca00873.s
> GNU C++ version egcs-2.90.29 980515 (egcs-1.0.3 release) (i586-linux) compiled by GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release).
> DEWiNeS_Tcl_Animation.ii: In method `class InfString TclStarIfcWiNeS::getInputValue_New()':
> DEWiNeS_Tcl_Animation.ii:8392: Internal compiler error.
> DEWiNeS_Tcl_Animation.ii:8392: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> make: *** [DEWiNeS_Tcl_Animation.o] Error 1
However, both compiler versions will succeed if compiling with -O1 or
-O0. Is there already a fix for this problem?
Regards,
Wolfgang.
PS: I am reposting this message, because I did not get any response to
it. Last time I posted URLs to the files (DEWiNeS_Tcl_Animation.ii.gz,
makefile.gz) which possibly put people off to help me. So this time I
will include them although they exceed the 40K limit.
--
Wolfgang Reimer (Dr.-Ing.)
T U I -- Technical University of Ilmenau, GERMANY, Thuringia
DEWiNeS_Tcl_Animation.ii.gz
makefile.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DEWiNeS_Tcl_Animation.ii.gz
Type: application/x-gzip
Size: 46028 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980813/81c7ed0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile.gz
Type: application/x-gzip
Size: 274 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980813/81c7ed0a/attachment-0001.bin>
More information about the Gcc-bugs
mailing list