ICE at objc-parse.y:339 (current CVS): GGC?

Andreas Jaeger aj@suse.de
Mon Nov 8 11:57:00 GMT 1999


With yesterday's CVS (update at 16:00 UTC 19991107) I managed to get a
full three stage bootstrap will all frontends.  But build failed after
25hours in libobjc.  It looks like a garbage collector problem since
declspec_stack has beeen garbage collected.

Andreas

/usr/src/build-cc/gcc/xgcc -B/usr/src/build-cc/gcc/ -B/opt/gcc-2.96/i686-pc-linux-gnu/bin/ -fgnu-runtime -c -o linking.o -I. -I../../../cvs/gcc/libobjc   -g -O2 -DIN_GCC -I../../../cvs/gcc/libobjc/objc  -I../../../cvs/gcc/libobjc/../gcc -I../../../cvs/gcc/libobjc/../gcc/config -I../../gcc -I../../../cvs/gcc/libobjc/../include ../../../cvs/gcc/libobjc/linking.m
In file included from ../../../cvs/gcc/libobjc/objc/Object.h:30,
                 from ../../../cvs/gcc/libobjc/linking.m:28:
../../../cvs/gcc/libobjc/objc/objc.h:64: Tree check: expected tree_list, have (null)
../../../cvs/gcc/libobjc/objc/objc.h:64: Internal compiler error in `yyparse', at objc-parse.y:339
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[2]: *** [linking.o] Error 1
make[2]: Leaving directory `/usr/src/build-cc/i686-pc-linux-gnu/libobjc'


 /usr/src/build-cc/gcc/cc1obj linking.mi -quiet -dumpbase linking.m -g -O2 -version -fgnu-runtime -lang-objc -o linking.s
GNU Obj-C version 2.96 19991107 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 19991107 (experimental).
In file included from ../../../cvs/gcc/libobjc/objc/Object.h:30,
                 from ../../../cvs/gcc/libobjc/linking.m:28:
../../../cvs/gcc/libobjc/objc/objc.h:64: Tree check: expected tree_list, have (null)
../../../cvs/gcc/libobjc/objc/objc.h:64: Internal compiler error in `yyparse', at objc-parse.y:339
Please submit a full bug report.


Breakpoint 1 at 0x804a106: file ../../cvs/gcc/gcc/toplev.c, line 1964.
Breakpoint 2 at 0x83a217a: file objc-parse.y, line 339.
GNU Obj-C version 2.96 19991107 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 19991107 (experimental).

Breakpoint 2, yyparse () at objc-parse.y:339
339			  current_declspecs = TREE_VALUE (declspec_stack);
#0  yyparse () at objc-parse.y:339
#1  0x0 in ?? ()
334			  reinit_parse_for_function (); }
335		  old_style_parm_decls
336			{ store_parm_decls (); }
337		  compstmt_or_error
338			{ finish_function (0); 
339			  current_declspecs = TREE_VALUE (declspec_stack);
340			  prefix_attributes = TREE_PURPOSE (declspec_stack);
341			  declspec_stack = TREE_CHAIN (declspec_stack);
342			  resume_momentary ($2); }
343		| typed_declspecs setspecs declarator error
(gdb) p declspec_stack
$2 = {common = {chain = 0xa5a5a5a5, type = 0xa5a5a5a5, code = 165, 
    side_effects_flag = 1, constant_flag = 0, permanent_flag = 1, 
    addressable_flag = 0, volatile_flag = 0, readonly_flag = 1, 
    unsigned_flag = 0, asm_written_flag = 1, used_flag = 1, raises_flag = 0, 
    static_flag = 1, public_flag = 0, private_flag = 0, protected_flag = 1, 
    lang_flag_0 = 0, lang_flag_1 = 1, lang_flag_2 = 1, lang_flag_3 = 0, 
    lang_flag_4 = 1, lang_flag_5 = 0, lang_flag_6 = 0}, int_cst = {
    common = 'Â¥' <repeats 12 times>, rtl = 0xa5a5a5a5, 
    int_cst_low = -1515870811, int_cst_high = -1515870811}, real_cst = {
    common = 'Â¥' <repeats 12 times>, rtl = 0xa5a5a5a5, real_cst = {r = {
        -1515870811, -1515870811, -1515870811}}}, string = {
    common = 'Â¥' <repeats 12 times>, rtl = 0xa5a5a5a5, length = -1515870811, 
    pointer = 0xa5a5a5a5 ""}, complex = {common = 'Â¥' <repeats 12 times>, 
    rtl = 0xa5a5a5a5, real = 0xa5a5a5a5, imag = 0xa5a5a5a5}, identifier = {
    common = 'Â¥' <repeats 12 times>, length = -1515870811, 
    pointer = 0xa5a5a5a5 ""}, decl = {common = 'Â¥' <repeats 12 times>, 
    filename = 0xa5a5a5a5 "", linenum = -1515870811, uid = 2779096485, 
    size = 0xa5a5a5a5, mode = 165, external_flag = 1, nonlocal_flag = 0, 
    regdecl_flag = 1, inline_flag = 0, bit_field_flag = 0, virtual_flag = 1, 
    ignored_flag = 0, abstract_flag = 1, in_system_header_flag = 1, 
    common_flag = 0, defer_output = 1, transparent_union = 0, 
    static_ctor_flag = 0, static_dtor_flag = 1, artificial_flag = 0, 
    weak_flag = 1, lang_flag_0 = 1, lang_flag_1 = 0, lang_flag_2 = 1, 
    lang_flag_3 = 0, lang_flag_4 = 0, lang_flag_5 = 1, lang_flag_6 = 0, 
    lang_flag_7 = 1, non_addr_const_p = 1, 
    no_instrument_function_entry_exit = 0, no_check_memory_usage = 1, 
    comdat_flag = 0, frame_size = {i = -1515870811, u = 2779096485, f = {
        code = 10855845, bclass = 165}}, name = 0xa5a5a5a5, 
    context = 0xa5a5a5a5, arguments = 0xa5a5a5a5, result = 0xa5a5a5a5, 
    initial = 0xa5a5a5a5, abstract_origin = 0xa5a5a5a5, 
    assembler_name = 0xa5a5a5a5, section_name = 0xa5a5a5a5, 
    machine_attributes = 0xa5a5a5a5, rtl = 0xa5a5a5a5, 
    live_range_rtl = 0xa5a5a5a5, saved_insns = {f = 0xa5a5a5a5, 
      r = 0xa5a5a5a5, i = -1515870811}, vindex = 0xa5a5a5a5, 
    pointer_alias_set = -1515870811, lang_specific = 0xa5a5a5a5}, type = {
    common = 'Â¥' <repeats 12 times>, values = 0xa5a5a5a5, size = 0xa5a5a5a5, 
    size_unit = 0xa5a5a5a5, attributes = 0xa5a5a5a5, uid = 2779096485, 
    precision = 165 'Â¥', mode = 165, string_flag = 1, no_force_blk_flag = 0, 
    needs_constructing_flag = 1, transparent_union_flag = 0, packed_flag = 0, 
    restrict_flag = 1, lang_flag_0 = 0, lang_flag_1 = 1, lang_flag_2 = 1, 
    lang_flag_3 = 0, lang_flag_4 = 1, lang_flag_5 = 0, lang_flag_6 = 0, 
    align = 2779096485, pointer_to = 0xa5a5a5a5, reference_to = 0xa5a5a5a5, 
    symtab = {address = -1515870811, pointer = 0xa5a5a5a5 ""}, 
    name = 0xa5a5a5a5, minval = 0xa5a5a5a5, maxval = 0xa5a5a5a5, 
    next_variant = 0xa5a5a5a5, main_variant = 0xa5a5a5a5, binfo = 0xa5a5a5a5, 
    noncopied_parts = 0xa5a5a5a5, context = 0xa5a5a5a5, obstack = 0xa5a5a5a5, 
    alias_set = -1515870811, lang_specific = 0xa5a5a5a5}, list = {
    common = 'Â¥' <repeats 12 times>, purpose = 0xa5a5a5a5, 
    value = 0xa5a5a5a5}, vec = {common = 'Â¥' <repeats 12 times>, 
    length = -1515870811, a = {0xa5a5a5a5}}, exp = {
    common = 'Â¥' <repeats 12 times>, complexity = -1515870811, operands = {
      0xa5a5a5a5}}, block = {common = 'Â¥' <repeats 12 times>, 
    handler_block_flag = 1, abstract_flag = 0, vars = 0xa5a5a5a5, 
    subblocks = 0xa5a5a5a5, supercontext = 0xa5a5a5a5, 
    abstract_origin = 0xa5a5a5a5}}

-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de


More information about the Gcc-bugs mailing list