------- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 20:03 ------- (gdb) bt #0 internal_error ( gmsgid=0x81d990 "tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:534 #1 0x005a6b10 in tree_contains_struct_check_failed (node=0x408ecf28, en=TS_DECL_MINIMAL, file=0x7e84fc "../../gcc/gcc/tree-into-ssa.c", line=2290, function=0x874814 "mark_sym_for_renaming") at ../../gcc/gcc/tree.c:5852 #2 0x00166420 in mark_sym_for_renaming (sym=0x408ecf28) at ../../gcc/gcc/tree-into-ssa.c:2290 #3 0x006af02c in do_eustores () at ../../gcc/gcc/tree-ssa-pre.c:2822 #4 0x005e36c8 in execute_one_pass (pass=0x886928) at ../../gcc/gcc/passes.c:779 #5 0x005e37f0 in execute_pass_list (pass=0x886928) at ../../gcc/gcc/passes.c:811 #6 0x005e3814 in execute_pass_list (pass=0x8738dc) at ../../gcc/gcc/passes.c:812 #7 0x00126504 in tree_rest_of_compilation (fndecl=0x408db380) at ../../gcc/gcc/tree-optimize.c:419 #8 0x000423f0 in c_expand_body (fndecl=0x408db380) at ../../gcc/gcc/c-decl.c:6628 #9 0x0064fd70 in cgraph_expand_function (node=0x408dbf80) at ../../gcc/gcc/cgraphunit.c:1033 #10 0x006500c8 in cgraph_expand_all_functions ()
(gdb) p debug_tree (sym) <component_ref 0x408ecf28 type <integer_type 0x400143c0 long unsigned int sizes-gimplified asm_written public unsigned SI size <integer_cst 0x400062e8 constant invariant 32> unit size <integer_cst 0x40006078 constant invariant 4> align 32 symtab 1074370360 alias set -1 precision 32 min <integer_cst 0x400063c0 0> max <integer_cst 0x400063a8 4294967295> pointer_to_this <pointer_type 0x400ea180>> arg 0 <var_decl 0x408e9e18 loc type <record_type 0x408d65a0 dw_cfa_location sizes-gimplified asm_written type_0 BLK size <integer_cst 0x40006558 constant invariant 128> unit size <integer_cst 0x40006570 constant invariant 16> align 32 symtab 1083005120 alias set -1 fields <field_decl 0x408d6420 reg> context <translation_unit_decl 0x4096bd68 D.30655> pointer_to_this <pointer_type 0x408da180>> addressable used BLK file ../../gcc/gcc/dwarf2out.c line 753 size < integer_cst 0x40006558 128> unit size <integer_cst 0x40006570 16> align 32 context <function_decl 0x408db380 def_cfa_1>> arg 1 <field_decl 0x408d6420 reg type <integer_type 0x400143c0 long unsigned int> unsigned SI file ../../gcc/gcc/dwarf2out.c line 242 size <integer_cst 0x400062e8 32> unit size <integer_cst 0x40006078 4> align 32 offset_align 64 offset <integer_cst 0x40006090 constant invariant 0> bit offset <integer_cst 0x40006840 constant invariant 0> context < record_type 0x408d63c0 cfa_loc> chain <field_decl 0x408d6480 offset type <integer_type 0x40014360 long int> SI file ../../gcc/gcc/dwarf2out.c line 243 size <integer_cst 0x400062e8 32> unit size <integer_cst 0x40006078 4> align 32 offset_align 64 offset <integer_cst 0x40006090 0> bit offset <integer_cst 0x400062e8 32> context <record_type 0x408d63c0 cfa_loc> chain < field_decl 0x408d64e0 base_offset>>>> $1 = void -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531