Internal Compiler Err 892 in cc1plus on Solaris (egcs-2.91.54 19980816)

Bernhard Reiter breiter@mathematik.Uni-Osnabrueck.DE
Mon Aug 24 06:49:00 GMT 1998

Hi, this is my second attempt to report the following bug.
(BTW: I have read the relevant info part, but the size limit of the
mailinglist which is mentioned on the webpage is not mentioned there.
I got no mail back, but my mail to was
somehow lost. I think the webpage should be mentioned in the info docs
about bug reporting and that MIME attachements and compression is okay.
Maybe the URL should also be mentioned when the compiler bails out.)

I am working with the mnemonic project and tried to compile 
a recent tree, which is know to compile unter Linux and egcs 1.0.3.
But i have problems on a simple file on Solaris.

SunOS ranec 5.5.1 Generic_103640-05 sun4m sparc
Reading specs from
gcc version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental)
(Same problems ocurret with the last SNAPSHOT 19980803.)

c++ -D_REENTRANT -DPREFIX=\"\" -g -Wall -I. -I../include  -I/include -I../../src -I../../src/include  -g -O2 -DOIL=\"\"  -I../include -I../include/mnemonic -fPIC -c -o memcache.o Internal compiler error 892. Please submit a full bug report to `'.

It is a problem with cc1plus.
I created a cpp outputfile with the following command 
(the same as given by the above c++ with -v  and different filename.)

ranec utils 98:  /usr/local/egcs/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.54/cpp -lang-c++ -v -I. -I../include -I/include -I../../src -I../../src/include -I../include -I../include/mnemonic -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix "-Asystem(unix)" "-Asystem(svr4)" -D__EXCEPTIONS -D__OPTIMIZE__ -g -g -Wall -D__GCC_NEW_VARARGS__ "-Acpu(sparc)" "-Amachine(sparc)" -D_REENTRANT -DPREFIX=" -DOIL=" memcache.after-cpp
GNU CPP version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental) (sparc)
#include "..." search starts here:
#include <...> search starts here:
End of search list.

You can get memcache.after-cpp at

It produces the following error:
ranec utils 99:  /usr/local/egcs/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.54/cc1plus memcache.after-cpp  -quiet -dumpbase -g -g -O2 -Wall -version -fPIC -o memcache.s
GNU C++ version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental) (sparc-sun-solaris2.5.1) compiled by GNU C version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental). Internal compiler error 892. Please submit a full bug report to `'.

As the source files are relatively small, i attach them. 
Sorry that i have not the c++ knowledge and time to create a minimal bug case.

	Bernhard Reiter
ps.: I am not subscribe to this mailing list, 
please forward relevant answers to me.
Version: 2.6.2i


More information about the Gcc-bugs mailing list