This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
mips-sgi-irix6.2 bootstrap fails with -g -O3 -funroll-all-loops
- To: egcs-bugs at cygnus dot com
- Subject: mips-sgi-irix6.2 bootstrap fails with -g -O3 -funroll-all-loops
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 28 Dec 1998 09:47:11 -0500 (EST)
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
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Icon CMT Corp.