ss-19990208: i386 ICE, recent tinkering with loops...

Marc Espie Marc.Espie@liafa.jussieu.fr
Wed Feb 10 01:37:00 GMT 1999


This one definitely was NOT there with 19990131.

egcc -v -O2 zoinx.i
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-openbsd2.4/egcs-2.93.06/specs
gcc version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental)
 /usr/local/lib/gcc-lib/i386-unknown-openbsd2.4/egcs-2.93.06/cc1 zoinx.i -quiet -O2 -version -o /var/tmp/cct21776.s
GNU C version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental) (i386-unknown-openbsd2.4) compiled by GNU C version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental).
/usr/ports/lang/egcs-snapshot/work/egcs-19990208/gcc/unroll.c:3629: Internal compiler error in function loop_iterations
-----------------------------------
void bn_sqr_words(r,a,n)
unsigned long  *r,*a;
int n;
        {
        for (;;)
                {
                unsigned long long  t;
                t=(unsigned long long )(a[0])*(a[0]);
                r[0]= (((unsigned long )( t ))& (0xffffffffL) ) ; r[1]= (((unsigned long )(( t )>> 32 ))& (0xffffffffL) ) ;
                if (--n == 0) break;
                t=(unsigned long long )(a[1])*(a[1]);
                r[2]= (((unsigned long )( t ))& (0xffffffffL) ) ; r[3]= (((unsigned long )(( t )>> 32 ))& (0xffffffffL) ) ;
                if (--n == 0) break;
                t=(unsigned long long )(a[2])*(a[2]);
                r[4]= (((unsigned long )( t ))& (0xffffffffL) ) ; r[5]= (((unsigned long )(( t )>> 32 ))& (0xffffffffL) ) ;
                if (--n == 0) break;
                t=(unsigned long long )(a[3])*(a[3]);
                r[6]= (((unsigned long )( t ))& (0xffffffffL) ) ; r[7]= (((unsigned long )(( t )>> 32 ))& (0xffffffffL) ) ;
                if (--n == 0) break;
                a+=4;
                r+=8;
                }
        }

Script done on Wed Feb 10 10:33:52 1999
-- 
	Marc Espie		
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'


More information about the Gcc-bugs mailing list