20000717 ICE compiling gcc/tree.c on hppa2.0-hp-hpux10.20.gnu.org
Rodney Brown
rdb@localhost
Wed Jul 19 05:01:00 GMT 2000
hppa2.0-hp-hpux10.20 --with-gnu-as
stage1/xgcc -Bstage1/ -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -c -DIN_GCC -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config -I../../egcs-20000717/gcc/../include ../../egcs-20000717/gcc/tree.c
xgcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[2]: *** [tree.o] Error 1
make[2]: Leaving directory `/devel/span/rdb/src/egcs-20000717.obj/gcc'
stage1/cc1 tree.i -quiet -dumpbase tree.c -g -O2 -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pedantic -version -o tree.s
GNU C version 2.96 20000717 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version 2.95.2 19991024 (release).
xgcc: Internal error: Segmentation fault (program cc1)
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 C version 2.96 20000717 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version 2.95.2 19991024 (release).
Program received signal SIGSEGV, Segmentation fault.
0x11c448 in check_sibcall_argument_overlap (insn=0x0, arg=0x7b03b5c0)
at ../../egcs-20000717/gcc/calls.c:2016
2016 SET_BIT (stored_args_map, low);
#0 0x11c448 in check_sibcall_argument_overlap (insn=0x0, arg=0x7b03b5c0)
at ../../egcs-20000717/gcc/calls.c:2016
#1 0x11e7d0 in expand_call (exp=0x7adec940, target=0x0, ignore=0)
at ../../egcs-20000717/gcc/calls.c:2952
#2 0xf8a0c in expand_expr (exp=0x7adec940, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at ../../egcs-20000717/gcc/expr.c:7101
#3 0xc17a4 in expand_expr_stmt (exp=0x7adec940)
at ../../egcs-20000717/gcc/stmt.c:1876
#4 0x3bdfdc in expand_stmt_with_iterators_1 (stmt=0x7adec940, iter_list=0x0)
at ../../egcs-20000717/gcc/c-iterate.c:168
#5 0x3bdf88 in iterator_expand (stmt=0x7adec940)
at ../../egcs-20000717/gcc/c-iterate.c:158
#6 0x35f2f4 in yyparse () at c-parse.y:1617
#7 0x39d08 in compile_file (name=0x7ae894b0 'ÃÂ¥' <repeats 16 times>, "CMP_SI")
at ../../egcs-20000717/gcc/toplev.c:2293
#8 0x41724 in main (argc=19, argv=0x7b03a580)
at ../../egcs-20000717/gcc/toplev.c:4736
2011 check_sibcall_argument_overlap_1 (PATTERN (insn)))
2012 break;
2013
2014 low = arg->offset.constant;
2015 for (high = low + arg->size.constant; low < high; low++)
2016 SET_BIT (stored_args_map, low);
2017 return insn != NULL_RTX;
2018 }
2019
2020 /* Generate all the code for a function call
(gdb) p *stored_args_map
$1 = {n_bits = 20, size = 1, bytes = 4, elms = {0}}
(gdb) ptype stored_args_map->elms
type = unsigned int [1]
(gdb) p stored_args_map->elms[0]
$2 = 0
(gdb) p *arg
$3 = {tree_value = 0x7adec900, mode = SImode, value = 0x7adda150,
initial_value = 0x0, reg = 0x0, tail_call_reg = 0x0, unsignedp = 1,
partial = 0, pass_on_stack = 0, offset = {constant = -20, var = 0x0},
slot_offset = {constant = -20, var = 0x0}, size = {constant = 4, var = 0x0},
stack = 0x7adda130, stack_slot = 0x7adda150, save_area = 0x0,
aligned_regs = 0x0, n_aligned_regs = 0, alignment_pad = {constant = 0,
var = 0x0}}
(gdb) p low
$4 = -20
(gdb) x/10i $pc
0x11c448 <check_sibcall_argument_overlap+296>: ldw 0(sr0,r20),r20
0x11c44c <check_sibcall_argument_overlap+300>: or r20,r21,r21
0x11c450 <check_sibcall_argument_overlap+304>: stw r21,0(sr0,r19)
0x11c454 <check_sibcall_argument_overlap+308>: ldw 8(sr0,r3),r19
0x11c458 <check_sibcall_argument_overlap+312>: ldo 1(r19),r20
0x11c45c <check_sibcall_argument_overlap+316>: stw r20,8(sr0,r3)
0x11c460 <check_sibcall_argument_overlap+320>:
b,n 0x11c3e4 <check_sibcall_argument_overlap+196>
0x11c464 <check_sibcall_argument_overlap+324>: ldw -0x24(sr0,r3),r20
0x11c468 <check_sibcall_argument_overlap+328>: comiclr,= 0,r20,r19
0x11c46c <check_sibcall_argument_overlap+332>: ldi 1,r19
(gdb) x/10i $pc-0x10
0x11c438 <check_sibcall_argument_overlap+280>: extru r21,31,5,r22
0x11c43c <check_sibcall_argument_overlap+284>: subi 0x1f,r22,r23
0x11c440 <check_sibcall_argument_overlap+288>: mtsar r23
0x11c444 <check_sibcall_argument_overlap+292>: zvdepi 1,32,r21
0x11c448 <check_sibcall_argument_overlap+296>: ldw 0(sr0,r20),r20
0x11c44c <check_sibcall_argument_overlap+300>: or r20,r21,r21
0x11c450 <check_sibcall_argument_overlap+304>: stw r21,0(sr0,r19)
0x11c454 <check_sibcall_argument_overlap+308>: ldw 8(sr0,r3),r19
0x11c458 <check_sibcall_argument_overlap+312>: ldo 1(r19),r20
0x11c45c <check_sibcall_argument_overlap+316>: stw r20,8(sr0,r3)
(gdb) info reg
flags: 2f000041 r18: 4000d730 pcsqt: 2703000 ccr: 0
r1: 4000fd70 r19: 600517e8 eiem: fffffffffffffffe cr12: 0
rp: 11c3ab r20: 600517e8 iir: 4a940000 cr13: 0
r3: 7b03b670 r21: 1000 isr: b3bb400 cr24: 0
r4: 7ffffff r22: c ior: 40000000600517e8 cr25: 0
r5: 4 r23: 13 ipsw: ff0006ff0f cr26: 0
r6: 6 r24: 400517f5 goto: 0 mpsfu_hi: 0
r7: 0 r25: 7b03b5c0 sr4: 2703000 mpsfu_lo: 0
r8: 7b03a6b0 r26: 7adda200 sr0: 2703000 mpsfu_ov: 0
r9: 0 dp: 4000c570 sr1: a8db000 pad: da7e799dda7e799d
r10: 4000bea0 ret0: 0 sr2: b3bb400 fpsr: 8000000
r11: 4000c6a0 ret1: 400340c0 sr3: 0 fpe1: 0
r12: 4000bea0 sp: 7b03b6f0 sr5: b3bb400 fpe2: 0
r13: 1 r31: 4014e0b4 sr6: a8db000 fpe3: 0
r14: 40005074 sar: 13 sr7: 0 fpe4: 0
r15: 4000c6b8 pcoqh: 11c448 cr0: 0 fpe5: 0
r16: 1 pcsqh: 2703000 cr8: 0 fpe6: 0
r17: 1 pcoqt: 11c44c cr9: 0 fpe7: 0
More information about the Gcc-bugs
mailing list