This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

19991025 chk-ICE at dwarfout.c:1176 compiling gcc/frame.c on i586-pc-unixware7


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}}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]