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]

20010108 ICE at resource.c:229 on hppa2.0-hp-hpux10.20


Trying again...

hppa2.0-hp-hpux10.20 --with-gnu-as 

./xgcc -B./ -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -isystem /usr/local/hppa2.0-hp-hpux10.20/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-20010108/gcc -I../../gcc-20010108/gcc/. -I../../gcc-20010108/gcc/config -I../../gcc-20010108/gcc/../include -DUSE_COLLECT2 -DL_fixunstfdi -c ../../gcc-20010108/gcc/libgcc2.c -o libgcc/./_fixunstfdi.o
../../gcc-20010108/gcc/libgcc2.c: In function `__fixunstfdi':
../../gcc-20010108/gcc/libgcc2.c:865: Internal compiler error in mark_referenced_resources, at resource.c:229
Please submit a full bug report.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_fixunstfdi.o] Error 1
make[3]: Leaving directory `/devel/span/rdb/src/gcc-20010108.obj/gcc'


 ./cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -g1 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -o libgcc2.s
GNU CPP version 2.97 20010108 (experimental) (cpplib) (hppa)
GNU C version 2.97 20010108 (experimental) (hppa2.0-hp-hpux10.20)
        compiled by GNU C version 2.95.2 19991024 (release).
../../gcc-20010108/gcc/libgcc2.c: In function `__fixunstfdi':
../../gcc-20010108/gcc/libgcc2.c:865: Internal compiler error in mark_referenced_resources, at resource.c:229
Please submit a full bug report.


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 CPP version 2.97 20010108 (experimental) (cpplib) (hppa)
GNU C version 2.97 20010108 (experimental) (hppa2.0-hp-hpux10.20)
        compiled by GNU C version 2.95.2 19991024 (release).

Breakpoint 5, mark_referenced_resources (x=0x7ae8f030, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:229
229                 abort ();
#0  mark_referenced_resources (x=0x7ae8f030, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:229
#1  0x3e8940 in mark_referenced_resources (x=0x7ad643c0, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:402
#2  0x3e8468 in mark_referenced_resources (x=0x7ad643b0, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:245
#3  0x3e8850 in mark_referenced_resources (x=0x7ad630c0, res=0x7b03b0e8, 
    include_delayed_effects=1) at ../../gcc-20010108/gcc/resource.c:371
#4  0x305018 in try_merge_delay_insns (insn=0x7ad89b20, thread=0x7ae77dc0)
    at ../../gcc-20010108/gcc/reorg.c:1532
#5  0x308da8 in relax_delay_slots (first=0x7ae77680)
    at ../../gcc-20010108/gcc/reorg.c:3380
#6  0x30997c in dbr_schedule (first=0x7ae77680, file=0x0)
    at ../../gcc-20010108/gcc/reorg.c:3605
#7  0xd55c8 in rest_of_compilation (decl=0x7ad9ef70)
    at ../../gcc-20010108/gcc/toplev.c:3636
#8  0x6a624 in c_expand_body (fndecl=0x7ad9ef70, nested_p=0)
    at ../../gcc-20010108/gcc/c-decl.c:6699
#9  0x6a0e4 in finish_function (nested=0)
    at ../../gcc-20010108/gcc/c-decl.c:6620
#10 0x3cce0 in yyparse_1 () at c-parse.y:323
#11 0x46cb8 in yyparse () at ../../gcc-20010108/gcc/c-lex.c:154
#12 0xd26cc in compile_file (name=0x4008b78c "libgcc2.i")
    at ../../gcc-20010108/gcc/toplev.c:2373
#13 0xda168 in main (argc=17, argv=0x7b03a588)
    at ../../gcc-20010108/gcc/toplev.c:4869
224               unsigned int regno = REGNO (x);
225               unsigned int last_regno
226                 = regno + HARD_REGNO_NREGS (regno, GET_MODE (x));
227     
228               if (last_regno > FIRST_PSEUDO_REGISTER)
229                 abort ();
230               for (r = regno; r < last_regno; r++)
231                 SET_HARD_REG_BIT (res->regs, r);
232             }
233           return;
(gdb) p regno
$1 = 90
(gdb) p last_regno
$2 = 91
(gdb) b 228
(gdb) x/10i 0x3e8384
0x3e8384 <mark_referenced_resources+924>:       ldw 0x18(sr0,r3),r19
0x3e8388 <mark_referenced_resources+928>:       ldi 0x59,r20
0x3e838c <mark_referenced_resources+932>:       
    combf,<<,n r20,r19,0x3e83ac <mark_referenced_resources+964>
0x3e8390 <mark_referenced_resources+936>:       ldil 0x39000,r19
0x3e8394 <mark_referenced_resources+940>:       ldo 0x288(r19),r26
0x3e8398 <mark_referenced_resources+944>:       ldi 0xe5,r25
0x3e839c <mark_referenced_resources+948>:       ldil 0x39000,r19
0x3e83a0 <mark_referenced_resources+952>:       ldo 0x2c0(r19),r24
0x3e83a4 <mark_referenced_resources+956>:       
    bl 0x3e7fd0 <next_insn_no_annul+208>,rp
0x3e83a8 <mark_referenced_resources+960>:       nop
(gdb) p $r19
$3 = 91
(gdb) p $r20
$4 = 89
(gdb) ptype x
type = struct rtx_def {
    ...
} *
(gdb) ptype res
type = struct resources {
    char memory;
    char unch_memory;
    char volatil;
    char cc;
    HARD_REG_SET regs;
} *
(gdb) p res
$5 = (struct resources *) 0x7b03b0e8
(gdb) p *res
$6 = {memory = 1 '\001', unch_memory = 1 '\001', volatil = 0 '\000', 
  cc = 0 '\000', regs = {1446510650, 0, 0}}
(gdb) call debug_rtx(x)
(reg/f:SI 90 virtual-stack-vars)
(gdb) up 1
#1  0x3e8940 in mark_referenced_resources (x=0x7ad643c0, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:402
402             mark_referenced_resources (XEXP (x, i), res, include_delayed_effects);
(gdb) call debug_rtx(x)

(plus:SI (reg/f:SI 90 virtual-stack-vars)
    (const_int 32 [0x20]))
(gdb) up 1
#2  0x3e8468 in mark_referenced_resources (x=0x7ad643b0, res=0x7b03b0e8, 
    include_delayed_effects=0) at ../../gcc-20010108/gcc/resource.c:245
245           mark_referenced_resources (XEXP (x, 0), res, 0);
(gdb) call debug_rtx(x)

(mem/f:TF (plus:SI (reg/f:SI 90 virtual-stack-vars)
        (const_int 32 [0x20])) 28)
(gdb) up 1
#3  0x3e8850 in mark_referenced_resources (x=0x7ad630c0, res=0x7b03b0e8, 
    include_delayed_effects=1) at ../../gcc-20010108/gcc/resource.c:371
371                         mark_referenced_resources (XEXP (XEXP (link, 0), 0),
(gdb) call debug_rtx(link)

(expr_list (use (mem/f:TF (plus:SI (reg/f:SI 90 virtual-stack-vars)
                (const_int 32 [0x20])) 28))
    (expr_list (use (mem/f:TF (reg/f:SI 90 virtual-stack-vars) 28))
        (nil)))
(gdb) call debug_rtx(x)

(call_insn:TI 108 820 493 (parallel[ 
            (call (mem:SI (symbol_ref:SI ("@_U_Qfmpy")) 0)
                (const_int 16 [0x10]))
            (clobber (reg:SI 2 %r2))
            (use (const_int 0 [0x0]))
        ] ) 269 {call_internal_symref} (insn_list:REG_DEP_ANTI 100 (insn_list:REG_DEP_ANTI 481 (insn_list 85 (insn_list 484 (insn_list 487 (insn_list 490 (insn_list:REG_DEP_ANTI 496 (insn_list 87 (insn_list 99 (insn_list:REG_DEP_ANTI 502 (insn_list 89 (insn_list:REG_DEP_ANTI 505 (insn_list 91 (insn_list:REG_DEP_ANTI 508 (insn_list 93 (insn_list 107 (insn_list 102 (insn_list 104 (insn_list:REG_DEP_ANTI 511 (insn_list 95 (insn_list:REG_DEP_ANTI 514 (insn_list 97 (insn_list:REG_DEP_ANTI 72 (insn_list:REG_DEP_ANTI 82 (insn_list 493 (insn_list:REG_DEP_ANTI 499 (nil)))))))))))))))))))))))))))
    (expr_list:REG_DEAD (reg:SI 26 %r26)
        (expr_list:REG_DEAD (reg:SI 25 %r25)
            (expr_list:REG_DEAD (reg:SI 28 %r28)
                (expr_list:REG_DEAD (reg:SI 19 %r19)
                    (expr_list:REG_UNUSED (reg:SI 2 %r2)
                        (expr_list:REG_EH_REGION (const_int -1 [0xffffffff])
                            (nil)))))))
    (expr_list (use (reg:SI 4 %r4))
        (expr_list (use (reg:SI 19 %r19))
            (expr_list (use (reg:SI 28 %r28))
                (expr_list (use (reg:SI 25 %r25))
                    (expr_list (use (reg:SI 26 %r26))
                        (expr_list (use (mem/f:TF (plus:SI (reg/f:SI 90 virtual-stack-vars)
                                        (const_int 32 [0x20])) 28))
                            (expr_list (use (mem/f:TF (reg/f:SI 90 virtual-stack-vars) 28))
                                (nil)))))))))
(gdb) c
Continuing.

Breakpoint 4, fatal (msgid=0x23a14 "Internal compiler error in %s, at %s:%d")
    at ../../gcc-20010108/gcc/diagnostic.c:1415
1415      VA_START (ap, msgid);
(gdb) c
Continuing.
../../gcc-20010108/gcc/libgcc2.c: In function `__fixunstfdi':
../../gcc-20010108/gcc/libgcc2.c:865: Internal compiler error in mark_referenced_resources, at resource.c:229
Please submit a full bug report.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

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