'1019 snapshot ICE at haifa-sched.c:5912 on hppa2.0-hp-hpux10.20 compiling gcc/libgcc2.c (__main)

Brown, Rodney rodneybrown@pmsc.com
Tue Oct 19 20:13:00 GMT 1999


Title: '1019 snapshot ICE at haifa-sched.c:5912 on hppa2.0-hp-hpux10.20 compiling gcc/libgcc2.c (__main)





Script started on Wed Oct 20 13:05:13 1999
bash-2.02$ perl ice.pl build.log
  ./xgcc -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -B./ -I/usr/local/hppa2.0-hp-hpux10.20/include -O2   -DIN_GCC    -g -W -Wall -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I../../egcs-19991019/gcc -I../../egcs-19991019/gcc/config -I../../egcs-19991019/gcc/../include -c -DL${name} \

      -DUSE_COLLECT2 ../../egcs-19991019/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /devel/span/rdb/src/egcs-19991019.obj/gcc/../binutils/ar ] ; then echo /devel/span/rdb/src/egcs-19991019.obj/gcc/../binutils/ar ; else if [ "hppa2.0-hp-hpux10.20" = "hppa2.0-hp-hpux10.20" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; fi` 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
_varargs
__dummy
_eprintf
../../egcs-19991019/gcc/libgcc2.c: In function `__eprintf':
../../egcs-19991019/gcc/libgcc2.c:1427: warning: format not a string literal, argument types not checked
_bb
../../egcs-19991019/gcc/libgcc2.c: In function `__bb_exit_func':
../../egcs-19991019/gcc/libgcc2.c:1625: warning: comparison between signed and unsigned
../../egcs-19991019/gcc/libgcc2.c:1653: warning: comparison between signed and unsigned
_shtab
_clear_cache
_trampoline
__main
../../egcs-19991019/gcc/libgcc2.c: In function `__do_global_ctors':
../../egcs-19991019/gcc/libgcc2.c:2896: Internal compiler error in `schedule_block', at haifa-sched.c:5912
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/devel/span/rdb/src/egcs-19991019.obj/gcc'



 ./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -g -g1 -O2 -W -Wall -version -fPIC -o libgcc2.s
GNU C version 2.96 19991019 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).

../../egcs-19991019/gcc/libgcc2.c: In function `__do_global_ctors':
../../egcs-19991019/gcc/libgcc2.c:2896: Internal compiler error in `schedule_block', at haifa-sched.c:5912
Please submit a full bug report.
Breakpoint 1 at 0x2c594
Breakpoint 2 at 0xe5594: file ../../egcs-19991019/gcc/rtl.c, line 1146.
Breakpoint 3 at 0x2c52bc
Breakpoint 4 at 0x213214: file ../../egcs-19991019/gcc/haifa-sched.c, line 5912.
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
GNU C version 2.96 19991019 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).

Breakpoint 4, schedule_block (bb=1, rgn_n_insns=9)
    at ../../egcs-19991019/gcc/haifa-sched.c:5912
5912            abort ();
#0  schedule_block (bb=1, rgn_n_insns=9)
    at ../../egcs-19991019/gcc/haifa-sched.c:5912
#1  0x2164cc in schedule_region (rgn=0)
    at ../../egcs-19991019/gcc/haifa-sched.c:6789
#2  0x217184 in schedule_insns (dump_file=0x0)
    at ../../egcs-19991019/gcc/haifa-sched.c:7040
#3  0x32544 in rest_of_compilation (decl=0x40225800)
    at ../../egcs-19991019/gcc/toplev.c:4085
#4  0x2a72d0 in finish_function (nested=0)
    at ../../egcs-19991019/gcc/c-decl.c:6715
#5  0x28e6cc in yyparse () at c-parse.y:314
#6  0x2fe6c in compile_file (name=0x4006b330 "libgcc2.i")
    at ../../egcs-19991019/gcc/toplev.c:3200
#7  0x35fa4 in main (argc=14, argv=0x7b03a51c)
    at ../../egcs-19991019/gcc/toplev.c:5552
5907             is ready and add all pending insns at that point to the ready
5908             list.  */
5909          n_ready = queue_to_ready (ready, n_ready);
5910    
5911          if (n_ready == 0)
5912            abort ();
5913    
5914          if (sched_verbose >= 2)
5915            {
5916              fprintf (dump, ";;\t\tReady list after queue_to_ready:  ");
(gdb) p n_ready
$1 = 0
(gdb) p ready
$2 = (struct rtx_def **) 0x7b03bf20
(gdb) p *ready
$3 = (struct rtx_def *) 0x4023eb00
(gdb) p **ready
$4 = {code = 29, mode = 0, jump = 0, call = 0, unchanging = 0, volatil = 0, 
  in_struct = 0, used = 0, integrated = 0, frame_related = 0, fld = {{
      rtwint = 144, rtint = 144, rtstr = 0x90 <Address 0x90 out of bounds>, 
      rtx = 0x90, rtvec = 0x90, rttype = 144, rt_addr_diff_vec_flags = {
        min_align = 0, base_after_vec = 0, min_after_vec = 0, 
        max_after_vec = 0, min_after_base = 0, max_after_base = 0, 
        offset_unsigned = 0, 0, scale = 0}, rtbit = 0x90, rttree = 0x90, 
      bb = 0x90}}}
(gdb) ptype **ready
type = struct rtx_def {
    short unsigned int code;
    int mode : 8;
    unsigned int jump : 1;
    unsigned int call : 1;
    unsigned int unchanging : 1;
    unsigned int volatil : 1;
    unsigned int in_struct : 1;
    unsigned int used : 1;
    unsigned int integrated : 1;
    unsigned int frame_related : 1;
    rtunion fld[1];
}
(gdb) q
The program is running.  Quit anyway (and kill it)? (y or n) n
Not confirmed.
(gdb) c
Continuing.
../../egcs-19991019/gcc/libgcc2.c: In function `__do_global_ctors':
../../egcs-19991019/gcc/libgcc2.c:2896: Internal compiler error in `schedule_block', at haifa-sched.c:5912
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
Child process unexpectedly missing: No child processes.
[New process -1]


Program terminated with signal ?, Unknown signal.
The program no longer exists.
(gdb) q
bash-2.02$ exit
exit


script done on Wed Oct 20 13:07:24 1999
(The perl script needed work - and needs more yet for the SegV on Digital Unix)






More information about the Gcc-bugs mailing list