This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mips-sgi-irix6.2 bootstrap fails with -g -O3 -funroll-all-loops


	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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]