This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
20000228 ICE at dwarf2out.c:7412 compiling gcc/bitmap.c on i586-sco-sysv5uw7.1.0
- To: gcc-bugs at gcc dot gnu dot org
- Subject: 20000228 ICE at dwarf2out.c:7412 compiling gcc/bitmap.c on i586-sco-sysv5uw7.1.0
- From: Rodney Brown <rdb at localhost>
- Date: Wed, 1 Mar 2000 07:58:06 +1100 (EST)
- Reply-To: RDBrown at mira dot net, RodneyBrown at pmsc dot com
i586-sco-sysv5uw7.1.0
stage1/xgcc -Bstage1/ -B/usr/local/i586-sco-sysv5uw7.1.0/bin/ -c -DIN_GCC -W -Wall -Wtraditional -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs-20000228/gcc -I../../egcs-20000228/gcc/config -I../../egcs-20000228/gcc/../include ../../egcs-20000228/gcc/bitmap.c
../../egcs-20000228/gcc/bitmap.c: In function `bitmap_copy':
../../egcs-20000228/gcc/bitmap.c:279: Internal compiler error in `add_abstract_origin_attribute', at dwarf2out.c:7412
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
xgcc: installation problem, cannot exec `': No such file or directory
make[2]: *** [bitmap.o] Error 255
make[2]: Leaving directory `/devel/src/egcs-20000228.obj/gcc'
stage1/cc1 bitmap.i -quiet -dumpbase bitmap.c -g -O2 -O2 -W -Wall -Wtraditional -version -o bitmap.s
GNU C version 2.96 20000228 (experimental) (i586-sco-sysv5uw7.1.0) compiled by GNU C version 2.95.2 19991024 (release).
../../egcs-20000228/gcc/bitmap.c: In function `bitmap_copy':
../../egcs-20000228/gcc/bitmap.c:279: Internal compiler error in `add_abstract_origin_attribute', at dwarf2out.c:7412
Please submit a full bug report.
GNU C version 2.96 20000228 (experimental) (i586-sco-sysv5uw7.1.0) compiled by GNU C version 2.95.2 19991024 (release).
Breakpoint 5, add_abstract_origin_attribute ()
at ../../egcs-20000228/gcc/dwarf2out.c:7412
7412 abort ();
#0 add_abstract_origin_attribute ()
at ../../egcs-20000228/gcc/dwarf2out.c:7412
#1 0x80f4c92 in gen_variable_die (decl=0xbfb91180, context_die=0x834b658)
at ../../egcs-20000228/gcc/dwarf2out.c:8410
#2 0x80f6302 in gen_decl_die (decl=0xbfb91180, context_die=0x834b658)
at ../../egcs-20000228/gcc/dwarf2out.c:9398
#3 0x80f6052 in decls_for_scope (stmt=0xbfb93840, context_die=0x834b658,
depth=3) at ../../egcs-20000228/gcc/dwarf2out.c:9254
#4 0x80f5f52 in gen_block_die (stmt=0xbfb93840, context_die=0x834b658,
depth=3) at ../../egcs-20000228/gcc/dwarf2out.c:9216
#5 0x80f607e in decls_for_scope (stmt=0xbfb93820, context_die=0x834b658,
depth=2) at ../../egcs-20000228/gcc/dwarf2out.c:9262
#6 0x80f51a8 in gen_inlined_subroutine_die (stmt=0xbfb93820,
context_die=0x834acf8, depth=2) at ../../egcs-20000228/gcc/dwarf2out.c:8565
#7 0x80f5f28 in gen_block_die (stmt=0xbfb93820, context_die=0x834acf8,
depth=2) at ../../egcs-20000228/gcc/dwarf2out.c:9211
#8 0x80f607e in decls_for_scope (stmt=0xbfb87160, context_die=0x834acf8,
depth=1) at ../../egcs-20000228/gcc/dwarf2out.c:9262
#9 0x80f5f52 in gen_block_die (stmt=0xbfb87160, context_die=0x834acf8,
depth=1) at ../../egcs-20000228/gcc/dwarf2out.c:9216
#10 0x80f607e in decls_for_scope (stmt=0xbfb87180, context_die=0x834acf8,
depth=0) at ../../egcs-20000228/gcc/dwarf2out.c:9262
#11 0x80f4bff in gen_subprogram_die (decl=0xbfbfd980, context_die=0x83269e0)
at ../../egcs-20000228/gcc/dwarf2out.c:8379
#12 0x80f61a6 in gen_decl_die (decl=0xbfbfd980, context_die=0x83269e0)
at ../../egcs-20000228/gcc/dwarf2out.c:9341
#13 0x80f65b2 in dwarf2out_decl (decl=0xbfbfd980)
at ../../egcs-20000228/gcc/dwarf2out.c:9570
#14 0x804ea8c in rest_of_compilation (decl=0xbfbfd980)
at ../../egcs-20000228/gcc/toplev.c:3733
#15 0x8290c07 in finish_function (nested=0)
at ../../egcs-20000228/gcc/c-decl.c:6465
#16 0x827e40e in yyparse () at ../../egcs-20000228/gcc/c-parse.c:312
#17 0x804c44b in compile_file (name=0xbff59170 "bitmap.i")
at ../../egcs-20000228/gcc/toplev.c:2432
#18 0x8050897 in main (argc=14, argv=0x8047cd4)
at ../../egcs-20000228/gcc/toplev.c:4864
#19 0x80491b9 in _start ()
7407 origin_die = lookup_decl_die (origin);
7408 else if (TREE_CODE_CLASS (TREE_CODE (origin)) == 't')
7409 origin_die = lookup_type_die (origin);
7410
7411 if (origin_die == NULL)
7412 abort ();
7413
7414 add_AT_die_ref (die, DW_AT_abstract_origin, origin_die);
7415 }
7416
(gdb) up 1
#1 0x80f4c92 in gen_variable_die (decl=0xbfb91180, context_die=0x834b658)
at ../../egcs-20000228/gcc/dwarf2out.c:8410
8410 add_abstract_origin_attribute (var_die, origin);
(gdb) p origin
$1 = (union tree_node *) 0xbfb9fa80
(gdb) call debug_tree(origin)
<var_decl bfb9fa80 element
type <pointer_type bfc03e80
type <record_type bfc03e00 bitmap_element
type_0 BLK
size <integer_cst bfc017c0 constant 160>
unit size <integer_cst bfc01800 constant 20>
align 32 symtab 137693176 alias set 0 fields <field_decl bfc03a80 next>
pointer_to_this <pointer_type bfc03e80>>
unsigned asm_written SI
size <integer_cst bfc018e0 constant 32>
unit size <integer_cst bff77c00 constant 4>
align 32 symtab 137693496 alias set 17>
unsigned used common SI file ../../egcs-20000228/gcc/bitmap.c line 221 size <integer_cst bfc018e0 32> unit size <integer_cst bff77c00 4>
align 32 context <function_decl bfbfd780 bitmap_clear>
(reg/v:SI 27) chain <var_decl bfb9fb00 next>>
../../egcs-20000228/gcc/bitmap.c: In function `bitmap_copy':
../../egcs-20000228/gcc/bitmap.c:279: Internal compiler error in `add_abstract_origin_attribute', at dwarf2out.c:7412
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Program exited with code 041.
dwarf2 platforms are comparatively rare - Unixware 7 & IRIX.
If recent binutils supports dwarf2 on Linux, bootstrapping with
dwarf2 on Linux could let developers detect such regressions.