egcs-19990228: ICE gcc/rtlanal.c:961

Horst von Brand vonbrand@sleipnir.valparaiso.cl
Fri Mar 5 01:48:00 GMT 1999


i586, linux-2.2.2-ac7, glibc-2.1, haifa-enabled egcs built with
"-O2 -fomit-frame-pointer -march=pentium". The following file (heavily
chopped to size out of mtools-pre4-3.9.2) ICEs with -O2:

typedef struct SimpleFile_t {
	int scsi_sector_size;
} SimpleFile_t;

int scsi_io(unsigned int len)
{
	unsigned int nsect;
	SimpleFile_t  *This;
	
	while (nsect*This->scsi_sector_size>len)
	  --nsect;
}

[root@sleipnir /tmp]# gcc -O2 -c plain_io.c
../../egcs-19990228/gcc/rtlanal.c:961: Internal compiler error in function
reg_overlap_mentioned_p
Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.


More information about the Gcc-bugs mailing list