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]

ICE on bootstrap with latest CVS on SGI Irix 6.3...



% make bootstrap-lean
...
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./ -O2   -DIN_GCC    -g -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I. -I../../gcc -I../../gcc/config -c -DL${name} \
      ../../gcc/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
_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
xgcc: Internal compiler error: program cc1 got fatal signal 11
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/OPT/gnu/gcc/DIST-egcs-cvs/irix-6.3/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/OPT/gnu/gcc/DIST-egcs-cvs/irix-6.3/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/OPT/gnu/gcc/DIST-egcs-cvs/irix-6.3/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/OPT/gnu/gcc/DIST-egcs-cvs/irix-6.3/gcc'
make: *** [bootstrap-lean] Error 2
[1]  + 21275 exit 2     make bootstrap-lean >& make.bootstrap

% gdb cc1 core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "mips-sgi-irix6"...
Core was generated by `cc1'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libc.so.1...done.
#0  0x101a7d44 in scan_loop (loop_start=0x103c1190, end=0x104476f0, unroll_p=0)
    at loop.c:789
789         if (GET_MODE_CLASS (GET_MODE (regno_reg_rtx[i])) == MODE_CC)
Breakpoint 1 at 0xfa2fdf4: file /xlv14/patches/3082/work/irix/lib/libc/libc_n32_M4/gen/abort.c, line 30.
Breakpoint 2 at 0xfa308e4
Breakpoint 3 at 0x10064f54: file toplev.c, line 2119.
(gdb) p i
$1 = 89
(gdb) p regno_reg_rtx[i]
$2 = 0x0
(gdb) l
784
785     #ifdef AVOID_CCMODE_COPIES
786       /* Don't try to move insns which set CC registers if we should not
787          create CCmode register copies.  */
788       for (i = FIRST_PSEUDO_REGISTER; i < nregs - loop_mems_idx; i++)
789         if (GET_MODE_CLASS (GET_MODE (regno_reg_rtx[i])) == MODE_CC)
790           may_not_optimize[i] = 1;
791     #endif
792
793       bcopy ((char *) n_times_set, (char *) n_times_used, nregs * sizeof (int));
(gdb)

-------------------------------------------------------------------------------
Lee Iverson     		SRI International
leei@ai.sri.com			333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/	(650) 859-3307



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