------- Additional Comments From danglin at gcc dot gnu dot org 2005-02-12 03:34 ------- GNU gdb 6.3.50.20050210-cvs Copyright 2004 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 "hppa2.0w-hp-hpux11.11"... Breakpoint 1 at 0x517c80: file ../../gcc/gcc/diagnostic.c, line 556. Breakpoint 2 at 0x517afc: file ../../gcc/gcc/diagnostic.c, line 500. Breakpoint 3 at 0xa70430: file ../../gcc/libiberty/obstack.c, line 450. Breakpoint 4 at 0xa5755c: file ../../gcc/libcpp/lex.c, line 178. (gdb) r `cat xx.sh` Starting program: /mnt/gnu/gcc-3.3/objdir/gcc/stage1/gnat1 `cat xx.sh` Breakpoint 3 at 0x7af87744 Breakpoint 4 at 0x7afeb230
Program received signal SIGSEGV, Segmentation fault. 0x00688be4 in type_hash_list (list=0x7ade29c0, hashcode=1325671104) at ../../gcc/gcc/tree.c:3427 3427 hashcode = iterative_hash_object (TYPE_HASH (TREE_VALUE (tail)), (gdb) disass 0x00688bc4 0x00688bf4 Dump of assembler code from 0x688bc4 to 0x688bf4: 0x00688bc4 <type_hash_list+196>: b,l 0x698a20 <tree_check_failed>,rp 0x00688bc8 <type_hash_list+200>: nop 0x00688bcc <type_hash_list+204>: ldw 10(,r3),r19 0x00688bd0 <type_hash_list+208>: ldw 14(,r19),r19 0x00688bd4 <type_hash_list+212>: stw r19,c(,r3) 0x00688bd8 <type_hash_list+216>: ldil a73800,r19 0x00688bdc <type_hash_list+220>: ldo 560(r19),r20 0x00688be0 <type_hash_list+224>: ldw c(,r3),r19 0x00688be4 <type_hash_list+228>: ldw c(,r19),r19 0x00688be8 <type_hash_list+232>: extrw,u r19,7,8,r19 0x00688bec <type_hash_list+236>: ldw,s r19(,r20),r19 0x00688bf0 <type_hash_list+240>: cmpib,=,n 2,r19,0x688c1c <type_hash_list+ 284> End of assembler dump. (gdb) p/x $r19 $1 = 0x0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19918