egcs-19990228: ICE gcc/rtlanal.c:961
Jeffrey A Law
law@upchuck.cygnus.com
Sun Apr 4 01:26:00 GMT 1999
In message <199903050150.WAA20680@sleipnir.valparaiso.cl>you write:
> 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
I just tried this with the current sources and it seems to be working fine.
jeff
More information about the Gcc-bugs
mailing list