mips-sgi-irix6.2 bootstrap fails with -g -O3 -funroll-all-loops
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Dec 28 11:24:00 GMT 1998
> From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
>
> In testing bootstraps with various BOOT_CFLAGS, I found that
> mips-sgi-irix6.2 worked at default flags (-g -O2), and also with "-g -O3".
>
>
> However, it failed building libgcc2.a in stage2 when using
> "-g -O3 -funroll-all-loops". Here is the error message:
>
>
> > for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
> > _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
> > _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
> > _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi
> > _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf
> > _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
> > do \
> > echo ${name}; \
> > ./xgcc -B./ -B/usr/local/mips-sgi-irix6.2/bin/ -O2 -DIN_GCC -W -Wall
> > -g -O3 -funroll-all-loops -I./include -g1 -DIN_LIBGCC2
> > -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c
> > -DL${name} \
> > ./libgcc2.c -o ${name}.o; \
> > if [ $? -eq 0 ] ; then true; else exit 1; fi; \
> > ar rc tmplibgcc2.a ${name}.o; \
> > rm -f ${name}.o; \
> > done
> > _muldi3
> > rtl.c:384: Internal compiler error in function copy_rtx
>
>
> If it matters, I used cc for stage1.
>
> --Kaveh
Grr, I forgot to say I was using egcs-2.92.33 19981227.
Specifically my checkout was done after Jeff's gengenrtl.c bzero fix, so
that patch did not help this problem.
Ditto for http://www.cygnus.com/ml/egcs-bugs/1998-Dec/0669.html .
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Icon CMT Corp.
More information about the Gcc-bugs
mailing list