public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* g++: Internal compiler error. (egcs-1.0.2 and 1.0.3a with -O2) [reposted]
@ 1998-08-13  8:38 Wolfgang Reimer
  1998-08-14 12:28 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Reimer @ 1998-08-13  8:38 UTC (permalink / raw)
  To: egcs-bugs

[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]

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


[-- Attachment #2: DEWiNeS_Tcl_Animation.ii.gz --]
[-- Type: application/x-gzip, Size: 46028 bytes --]

[-- Attachment #3: makefile.gz --]
[-- Type: application/x-gzip, Size: 274 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: g++: Internal compiler error. (egcs-1.0.2 and 1.0.3a with -O2) [reposted]
  1998-08-13  8:38 g++: Internal compiler error. (egcs-1.0.2 and 1.0.3a with -O2) [reposted] Wolfgang Reimer
@ 1998-08-14 12:28 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1998-08-14 12:28 UTC (permalink / raw)
  To: Wolfgang Reimer; +Cc: egcs-bugs

Wolfgang Reimer <reimer@e-technik.tu-ilmenau.de> writes:

> 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/ )

>> 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

This problem is fixed in the latest snapshot of egcs.  Thanks for your 
report.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-14 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-13  8:38 g++: Internal compiler error. (egcs-1.0.2 and 1.0.3a with -O2) [reposted] Wolfgang Reimer
1998-08-14 12:28 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).