egcs internal compiler error

James E. Rowley jer@research.att.com
Thu Jun 17 10:58:00 GMT 1999


When compling the attached .ii file, I get an internal compiler error 
on an SGI IRIX 6.5 platform:

common$ g++ --version
egcs-2.91.66
common$ g++ -c Table_Attribute.ii
expr.c:2423: Internal compiler error

When I compile it on a RH 5.2 linux platform, I get no error:

rhcc.research.att.com$ /usr/common/bin/g++ --version
egcs-2.91.66
rhcc.research.att.com$ /usr/common/bin/g++ -c Table_Attribute.ii
rhcc.research.att.com$ ls -l Table_Attribute.o 
-rw-r--r--   1 jer      sips       169108 Jun 17 13:16 Table_Attribute.o
rhcc.research.att.com$ 

It also compiles with no errors on a Sun Solaris (sparc) 2.5.1 platform
with egcs-2.91.60 and gets no errors.

It would appear to me that their is a problem with the egcs compiler
when built on and for SGI IRIX 6.5.  I've read and followed all the 
suggested recommendations for SGI building.  *NOTE* I've compiled-in
the option for -fsquangle  -  could this be a problem?  (The SGI assembler
doesn't handle long names, so we need this option.)

thanks,
- jim





More information about the Gcc-bugs mailing list