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]

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


Title: 19991122 chk-ICE at dwarfout.c:1178 compiling gcc/frame.c on i586-pc-unixware7

i586-pc-unixware7 --target=i586-pc-unixware7 --with-gnu-as --enable-checking

    ./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-19991122/gcc -I../../egcs-19991122/gcc/config -I../../egcs-19991122/gcc/../include -c ${file}; \

    if [ $? -eq 0 ] ; then true; else exit 1; fi; \
    ` if [ -f /devel/src/egcs-19991122.chk/gcc/../binutils/ar ] ; then echo /devel/src/egcs-19991122.chk/gcc/../binutils/ar ; else if [ "i586-pc-sysv4.2uw" = "i586-pc-sysv4.2uw" ] ; then echo ar; else t='s,^,i586-pc-unixware7-,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${oname}.o; \

    rm -f ${name}.s ${oname}.o; \
  fi; \
done
../../egcs-19991122/gcc/frame
../../egcs-19991122/gcc/frame.c: In function `fde_split':
../../egcs-19991122/gcc/frame.c:874: Internal compiler error in `decl_ultimate_origin', at dwarfout.c:1178
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-19991122.chk/gcc'


 ./cc1 frame.i -quiet -dumpbase frame.c -g -g1 -O2 -W -Wall -version -fPIC -o frame.s
GNU C version 2.96 19991122 (experimental) (i586-pc-unixware7) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).

../../egcs-19991122/gcc/frame.c: In function `fde_split':
../../egcs-19991122/gcc/frame.c:874: Internal compiler error in `decl_ultimate_origin', at dwarfout.c:1178
Please submit a full bug report.

GNU C version 2.96 19991122 (experimental) (i586-pc-unixware7) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).

Breakpoint 5, decl_ultimate_origin (decl=0xbfeeda80)
    at ../../egcs-19991122/gcc/dwarfout.c:1178
1178        abort ();
#0  decl_ultimate_origin (decl=0xbfeeda80)
    at ../../egcs-19991122/gcc/dwarfout.c:1178
#1  0x81d41a4 in output_local_subroutine_die (arg=0xbfeeda80)
    at ../../egcs-19991122/gcc/dwarfout.c:3862
#2  0x81d49f9 in output_die (
    die_specific_output_function=0x81d4190 <output_local_subroutine_die>,
    param=0xbfeeda80) at ../../egcs-19991122/gcc/dwarfout.c:4036
#3  0x81d614b in output_decl (decl=0xbfeeda80, containing_scope=0x0)
    at ../../egcs-19991122/gcc/dwarfout.c:4867
#4  0x81d7bae in dwarfout_file_scope_decl (decl=0xbfeeda80, set_finalizing=0)
    at ../../egcs-19991122/gcc/dwarfout.c:5354
#5  0x804fcbf in rest_of_compilation (decl=0xbfeeda80)
    at ../../egcs-19991122/gcc/toplev.c:4458
#6  0x8235c90 in output_inline_function (fndecl=0xbfeeda80)
    at ../../egcs-19991122/gcc/integrate.c:2548
#7  0x804b955 in wrapup_global_declarations (vec=0x884a538, len=990)
    at ../../egcs-19991122/gcc/toplev.c:2711
#8  0x804cb2d in compile_file (name=0xbff5f398 "paddr_t")
    at ../../egcs-19991122/gcc/toplev.c:3253
#9  0x8051cf2 in main (argc=14, argv=0x8047cec)
    at ../../egcs-19991122/gcc/toplev.c:5577
#10 0x8049061 in _start ()
1173    {
1174    #ifdef ENABLE_CHECKING

1175      if (DECL_FROM_INLINE (DECL_ORIGIN (decl)))
1176        /* Since the DECL_ABSTRACT_ORIGIN for a DECL is supposed to be the
1177           most distant ancestor, this should never happen.  */
1178        abort ();
1179    #endif
1180   
1181      return DECL_ABSTRACT_ORIGIN (decl);
1182    }
(gdb) ptype decl
type = union tree_node {
    struct tree_common common;
    struct tree_int_cst int_cst;
    struct tree_real_cst real_cst;
    struct tree_string string;
    struct tree_complex complex;
    struct tree_identifier identifier;
    struct tree_decl decl;
    struct tree_type type;
    struct tree_list list;
    struct tree_vec vec;
    struct tree_exp exp;
    struct tree_block block;
} *
(gdb) p *decl
$1 = {common = {chain = 0xbfec3f80, type = 0xbfeed680, 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 = "\200?ì¿\200Öî¿\035\214\005", rtl = 0xbfe6b3c0,
    int_cst_low = 306, int_cst_high = 1645}, real_cst = {
    common = "\200?ì¿\200Öî¿\035\214\005", rtl = 0xbfe6b3c0, real_cst = {r = {
        306, 1645, 0}}}, string = {common = "\200?ì¿\200Öî¿\035\214\005",
    rtl = 0xbfe6b3c0, length = 306,
    pointer = 0x66d <Address 0x66d out of bounds>}, complex = {
    common = "\200?ì¿\200Öî¿\035\214\005", rtl = 0xbfe6b3c0, real = 0x132,
    imag = 0x66d}, identifier = {common = "\200?ì¿\200Öî¿\035\214\005",
    length = -1075399744, pointer = 0x132 <Address 0x132 out of bounds>},
  decl = {common = "\200?ì¿\200Öî¿\035\214\005",
    filename = 0xbfe6b3c0 "../../egcs-19991122/gcc/frame.c", linenum = 306,
    uid = 1645, 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 = 0xbfe67040, context = 0x0, arguments = 0xbfeed580,
    result = 0xbfeedb00, initial = 0xbff37600, abstract_origin = 0xbfeeda80,
    assembler_name = 0xbfe67040, section_name = 0x0, machine_attributes = 0x0,
    rtl = 0xbfe7f6e0, live_range_rtl = 0x0, saved_insns = {f = 0x8834528,
      r = 0x8834528, i = 142820648}, vindex = 0x0, pointer_alias_set = -1,
    lang_specific = 0x0}, type = {common = "\200?ì¿\200Öî¿\035\214\005",
    values = 0xbfe6b3c0, size = 0x132, size_unit = 0x66d, 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 = 0xbfe67040, reference_to = 0x0, symtab = {
      address = -1074866816, pointer = 0xbfeed580 ""}, name = 0xbfeedb00,
    minval = 0xbff37600, maxval = 0xbfeeda80, next_variant = 0xbfe67040,
    main_variant = 0x0, binfo = 0x0, noncopied_parts = 0xbfe7f6e0,
    context = 0x0, obstack = 0x8834528, alias_set = 0,
    lang_specific = 0xffffffff}, list = {

    common = "\200?ì¿\200Öî¿\035\214\005", purpose = 0xbfe6b3c0,
    value = 0x132}, vec = {common = "\200?ì¿\200Öî¿\035\214\005",
    length = -1075399744, a = {0x132}}, exp = {
    common = "\200?ì¿\200Öî¿\035\214\005", complexity = -1075399744,
    operands = {0x132}}, block = {common = "\200?ì¿\200Öî¿\035\214\005",
    handler_block_flag = 0, abstract_flag = 0, vars = 0x132,
    subblocks = 0x66d, supercontext = 0x0, abstract_origin = 0x2}}


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