19991025 chk-ICE at dwarfout.c:1176 compiling gcc/frame.c on i586-pc-unixware7
Brown, Rodney
rodneybrown@pmsc.com
Tue Oct 26 18:07:00 GMT 1999
Title: 19991025 chk-ICE at dwarfout.c:1176 compiling gcc/frame.c on i586-pc-unixware7
NB This is triggered by building with --enable-checking
- no problems with default build
ÃÂ ÃÂ ÃÂ ./xgcc -B/usr/local/i586-pc-unixware7/bin/ -B./ -I/usr/local/i586-pc-unixware7/include -O2ÃÂ ÃÂ -DIN_GCCÃÂ ÃÂ ÃÂ -g -W -Wall -I./includeÃÂ -fPIC -g1ÃÂ -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDEDÃÂ -I. -I../../egcs-19991025/gcc -I../../egcs-19991025/gcc/config -I../../egcs-19991025/gcc/../include -c ${file}; \
ÃÂ ÃÂ ÃÂ if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ÃÂ ÃÂ ÃÂ ` if [ -f /devel/src/egcs-19991025.obj/gcc/../binutils/ar ] ; then echo /devel/src/egcs-19991025.obj/gcc/../binutils/ar ; else if [ "i586-pc-sysv4.2uw" = "i586-pc-sysv4.2uw" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${oname}.o; \
ÃÂ ÃÂ ÃÂ rm -f ${name}.s ${oname}.o; \
ÃÂ fi; \
done
../../egcs-19991025/gcc/frame
../../egcs-19991025/gcc/frame.c: In function `fde_split':
../../egcs-19991025/gcc/frame.c:874: Internal compiler error in `decl_ultimate_origin', at dwarfout.c:1176
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/devel/src/egcs-19991025.obj/gcc'
ÃÂ ./cc1 frame.i -quiet -dumpbase frame.c -g -g1 -O2 -W -Wall -version -fPIC -o frame.s
GNU C version 2.96 19991025 (experimental) (i586-pc-unixware7) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
../../egcs-19991025/gcc/frame.c: In function `fde_split':
../../egcs-19991025/gcc/frame.c:874: Internal compiler error in `decl_ultimate_origin', at dwarfout.c:1176
Please submit a full bug report.
GNU C version 2.96 19991025 (experimental) (i586-pc-unixware7) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
Breakpoint 4, decl_ultimate_origin (decl=0xbfeed100)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/dwarfout.c:1176
1176ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ abort ();
#0ÃÂ decl_ultimate_origin (decl=0xbfeed100)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/dwarfout.c:1176
#1ÃÂ 0x81cbc64 in output_local_subroutine_die (arg=0xbfeed100)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/dwarfout.c:3858
#2ÃÂ 0x81cc4b9 in output_die (
ÃÂ ÃÂ ÃÂ die_specific_output_function=0x81cbc50 <output_local_subroutine_die>,
ÃÂ ÃÂ ÃÂ param=0xbfeed100) at ../../egcs-19991025/gcc/dwarfout.c:4032
#3ÃÂ 0x81cdc0b in output_decl (decl=0xbfeed100, containing_scope=0x0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/dwarfout.c:4863
#4ÃÂ 0x81cf66e in dwarfout_file_scope_decl (decl=0xbfeed100, set_finalizing=0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/dwarfout.c:5350
#5ÃÂ 0x804fb2f in rest_of_compilation (decl=0xbfeed100)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/toplev.c:4410
#6ÃÂ 0x822ce00 in output_inline_function (fndecl=0xbfeed100)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/integrate.c:2486
#7ÃÂ 0x804b9b5 in wrapup_global_declarations (vec=0x8046d00, len=990)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/toplev.c:2700
#8ÃÂ 0x804cb8d in compile_file (name=0xbff5f398 "u_long")
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/toplev.c:3240
#9ÃÂ 0x8051c62 in main (argc=14, argv=0x8047cec)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991025/gcc/toplev.c:5555
#10 0x80490c1 in _start ()
1171ÃÂ ÃÂ ÃÂ {
1172ÃÂ ÃÂ ÃÂ #ifdef ENABLE_CHECKING
1173ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ if (DECL_FROM_INLINE (DECL_ORIGIN (decl)))
1174ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ /* Since the DECL_ABSTRACT_ORIGIN for a DECL is supposed to be the
1175ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ most distant ancestor, this should never happen.ÃÂ */
1176ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ abort ();
1177ÃÂ ÃÂ ÃÂ #endif
1178ÃÂ ÃÂ ÃÂ
1179ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ return DECL_ABSTRACT_ORIGIN (decl);
1180ÃÂ ÃÂ ÃÂ }
(gdb) p *decl
$1 = {common = {chain = 0xbfecb900, type = 0xbfeed080, code = FUNCTION_DECL,
ÃÂ ÃÂ ÃÂ side_effects_flag = 0, constant_flag = 0, permanent_flag = 1,
ÃÂ ÃÂ ÃÂ addressable_flag = 1, volatile_flag = 0, readonly_flag = 0,
ÃÂ ÃÂ ÃÂ unsigned_flag = 0, asm_written_flag = 1, used_flag = 1, raises_flag = 0,
ÃÂ ÃÂ ÃÂ static_flag = 1, public_flag = 0, private_flag = 0, protected_flag = 0,
ÃÂ ÃÂ ÃÂ lang_flag_0 = 0, lang_flag_1 = 0, lang_flag_2 = 0, lang_flag_3 = 0,
ÃÂ ÃÂ ÃÂ lang_flag_4 = 0, lang_flag_5 = 0, lang_flag_6 = 0}, int_cst = {
àààcommon = "\000ùìÿ\200ÃÂîÿ\035\214\005", rtl = 0xbfe6d280,
ÃÂ ÃÂ ÃÂ int_cst_low = 306, int_cst_high = 1641}, real_cst = {
àààcommon = "\000ùìÿ\200ÃÂîÿ\035\214\005", rtl = 0xbfe6d280, real_cst = {r = {
ààààààà306, 1641, 0}}}, string = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ rtl = 0xbfe6d280, length = 306,
ÃÂ ÃÂ ÃÂ pointer = 0x669 <Address 0x669 out of bounds>}, complex = {
àààcommon = "\000ùìÿ\200ÃÂîÿ\035\214\005", rtl = 0xbfe6d280, real = 0x132,
àààimag = 0x669}, identifier = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ length = -1075391872, pointer = 0x132 <Address 0x132 out of bounds>},
àdecl = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ filename = 0xbfe6d280 "../../egcs-19991025/gcc/frame.c", linenum = 306,
ÃÂ ÃÂ ÃÂ uid = 1641, size = 0x0, mode = QImode, external_flag = 0,
ÃÂ ÃÂ ÃÂ nonlocal_flag = 0, regdecl_flag = 0, inline_flag = 0, bit_field_flag = 0,
ÃÂ ÃÂ ÃÂ virtual_flag = 0, ignored_flag = 0, abstract_flag = 0,
ÃÂ ÃÂ ÃÂ in_system_header_flag = 0, common_flag = 0, defer_output = 0,
ÃÂ ÃÂ ÃÂ transparent_union = 0, static_ctor_flag = 0, static_dtor_flag = 0,
ÃÂ ÃÂ ÃÂ artificial_flag = 0, weak_flag = 0, lang_flag_0 = 0, lang_flag_1 = 0,
ÃÂ ÃÂ ÃÂ lang_flag_2 = 0, lang_flag_3 = 0, lang_flag_4 = 0, lang_flag_5 = 0,
ÃÂ ÃÂ ÃÂ lang_flag_6 = 0, lang_flag_7 = 0, non_addr_const_p = 0,
ÃÂ ÃÂ ÃÂ no_instrument_function_entry_exit = 0, no_check_memory_usage = 0,
ÃÂ ÃÂ ÃÂ comdat_flag = 0, frame_size = {i = 0, u = 0, f = {code = 0, bclass = 0}},
ÃÂ ÃÂ ÃÂ name = 0xbfe67000, context = 0x0, arguments = 0xbfeed380,
ÃÂ ÃÂ ÃÂ result = 0xbfeed500, initial = 0xbfe675c0, abstract_origin = 0xbfeed100,
ÃÂ ÃÂ ÃÂ assembler_name = 0xbfe67000, section_name = 0x0, machine_attributes = 0x0,
ÃÂ ÃÂ ÃÂ rtl = 0xbfe6b8f0, live_range_rtl = 0x0, saved_insns = {f = 0x88240e0,
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ r = 0x88240e0, i = 142754016}, vindex = 0x0, pointer_alias_set = -1,
àààlang_specific = 0x0}, type = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ values = 0xbfe6d280, size = 0x132, size_unit = 0x669, attributes = 0x0,
ÃÂ ÃÂ ÃÂ uid = 2, precision = 0 '\000', mode = VOIDmode, string_flag = 0,
ÃÂ ÃÂ ÃÂ no_force_blk_flag = 0, needs_constructing_flag = 0,
ÃÂ ÃÂ ÃÂ transparent_union_flag = 0, packed_flag = 0, restrict_flag = 0,
ÃÂ ÃÂ ÃÂ lang_flag_0 = 0, lang_flag_1 = 0, lang_flag_2 = 0, lang_flag_3 = 0,
ÃÂ ÃÂ ÃÂ lang_flag_4 = 0, lang_flag_5 = 0, lang_flag_6 = 0, align = 0,
ÃÂ ÃÂ ÃÂ pointer_to = 0xbfe67000, reference_to = 0x0, symtab = {
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ address = -1074867328, pointer = 0xbfeed380 ""}, name = 0xbfeed500,
ÃÂ ÃÂ ÃÂ minval = 0xbfe675c0, maxval = 0xbfeed100, next_variant = 0xbfe67000,
ÃÂ ÃÂ ÃÂ main_variant = 0x0, binfo = 0x0, noncopied_parts = 0xbfe6b8f0,
ÃÂ ÃÂ ÃÂ context = 0x0, obstack = 0x88240e0, alias_set = 0,
ÃÂ ÃÂ ÃÂ lang_specific = 0xffffffff}, list = {
àààcommon = "\000ùìÿ\200ÃÂîÿ\035\214\005", purpose = 0xbfe6d280,
àààvalue = 0x132}, vec = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ length = -1075391872, a = {0x132}}, exp = {
àààcommon = "\000ùìÿ\200ÃÂîÿ\035\214\005", complexity = -1075391872,
àààoperands = {0x132}}, block = {common = "\000ùìÿ\200ÃÂîÿ\035\214\005",
ÃÂ ÃÂ ÃÂ handler_block_flag = 0, abstract_flag = 0, live_range_flag = 0,
ÃÂ ÃÂ ÃÂ live_range_var_flag = 0, vars = 0x132, type_tags = 0x669, subblocks = 0x0,
ÃÂ ÃÂ ÃÂ supercontext = 0x2, abstract_origin = 0x0, end_note = 0x0,
ÃÂ ÃÂ ÃÂ live_range_start = -1075417088, live_range_end = 0}}
More information about the Gcc-bugs
mailing list