http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56816
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org, | |tkoenig at gcc dot gnu.org Summary|f951.exe internal compiler |ICE in delete_root |error. segmentation fault | --- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-04-02 20:41:03 UTC --- The attachment at http://gcc.gnu.org/bugzilla/attachment.cgi?id=29779 should really go to this bug. The traceback (see below) makes me suspect http://gcc.gnu.org/ml/gcc-cvs/2013-03/msg00054.html Mikael, any idea? Program received signal SIGSEGV, Segmentation fault. 0x000000000050005b in delete_root (t=0x165ac30) at ../../trunk/gcc/fortran/bbt.c:150 150 if (t->left->priority > t->right->priority) (gdb) bt #0 0x000000000050005b in delete_root (t=0x165ac30) at ../../trunk/gcc/fortran/bbt.c:150 #1 0x0000000000500104 in delete_treap (old=old@entry=0x7fffffffd650, t=<optimized out>, compare=compare@entry= 0x593140 <compare_symtree(void*, void*)>) at ../../trunk/gcc/fortran/bbt.c:185 #2 0x00000000005000e9 in delete_treap (old=old@entry=0x7fffffffd650, t=0x7ffff71ef678 <main_arena+88>, compare=compare@entry=0x593140 <compare_symtree(void*, void*)>) at ../../trunk/gcc/fortran/bbt.c:183 #3 0x00000000005000e9 in delete_treap (old=old@entry=0x7fffffffd650, t=0x165b8e0, compare=compare@entry=0x593140 <compare_symtree(void*, void*)>) at ../../trunk/gcc/fortran/bbt.c:183 #4 0x00000000005000e9 in delete_treap (old=0x7fffffffd650, t=0x1656cd0, compare=0x593140 <compare_symtree(void*, void*)>) at ../../trunk/gcc/fortran/bbt.c:183 #5 0x000000000050023f in gfc_delete_bbt (root=0x165ac40, old=<optimized out>, compare=<optimized out>) at ../../trunk/gcc/fortran/bbt.c:197 #6 0x0000000000595e88 in gfc_delete_symtree (root=0x165ac40, name=0x7ffff71ef678 <main_arena+88> "\300$h\001") at ../../trunk/gcc/fortran/symbol.c:2403 #7 0x00000000005971ef in gfc_restore_last_undo_checkpoint () at ../../trunk/gcc/fortran/symbol.c:3123 #8 0x00000000005623fb in reject_statement () at ../../trunk/gcc/fortran/parse.c:1745 #9 0x000000000056252d in match_word (subr=<optimized out>, old_locus=old_locus@entry=0x7fffffffd760, str=0x0) at ../../trunk/gcc/fortran/parse.c:70 #10 0x0000000000562efc in match_word (old_locus=0x7fffffffd760, subr=<optimized out>, str=0x0) at ../../trunk/gcc/fortran/parse.c:366 #11 decode_statement () at ../../trunk/gcc/fortran/parse.c:366 #12 0x0000000000564255 in next_free () at ../../trunk/gcc/fortran/parse.c:777 #13 next_statement () at ../../trunk/gcc/fortran/parse.c:970 #14 0x000000000056514d in parse_spec (st=<optimized out>, st@entry=ST_NONE) at ../../trunk/gcc/fortran/parse.c:2738 #15 0x0000000000567149 in parse_progunit (st=st@entry=ST_NONE) at ../../trunk/gcc/fortran/parse.c:4118 #16 0x00000000005674d1 in parse_contained (module=module@entry=1) at ../../trunk/gcc/fortran/parse.c:4057 #17 0x000000000056857a in parse_module () at ../../trunk/gcc/fortran/parse.c:4316 #18 gfc_parse_file () at ../../trunk/gcc/fortran/parse.c:4582 #19 0x00000000005a40b6 in gfc_be_parse_file () at ../../trunk/gcc/fortran/f95-lang.c:189 #20 0x000000000094eca6 in compile_file () at ../../trunk/gcc/toplev.c:543 #21 0x0000000000950b08 in do_compile () at ../../trunk/gcc/toplev.c:1864 #22 toplev_main (argc=2, argv=0x7fffffffdc08) at ../../trunk/gcc/toplev.c:1940 #23 0x00007ffff6e71455 in __libc_start_main () from /lib64/libc.so.6 #24 0x00000000004f9591 in _start () at ../sysdeps/x86_64/elf/start.S:113