[Bug middle-end/48152] Bootstrap failure for x86_64-w64-mingw32 due ICE

ktietz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 17:04:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48152

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-03-16 16:57:39 UTC ---
dump_tree of type is:

(gdb) call dump_tree(type)
No symbol "dump_tree" in current context.
(gdb) call debug_tree(type)
 <record_type 0x7e9b9600 istreambuf_iterator asm_written needs-constructing
type
_1 type_5 type_6 BLK
    size <integer_cst 0x7eef0ba0 type <integer_type 0x7ef703c0 bit_size_type>
co
nstant 128>
    unit size <integer_cst 0x7eef0bc0 type <integer_type 0x7ef70360 long long
un
signed int> constant 16>
    align 64 symtab 2122505008 alias set 43 canonical type 0x7e9b9600
    fields <field_decl 0x7e471500 _M_sbuf
        type <pointer_type 0x7e471560 type <record_type 0x7e60fde0
streambuf_typ
e>
            asm_written public unsigned DI
            size <integer_cst 0x7eef0ae0 constant 64>
            unit size <integer_cst 0x7eef0b00 constant 8>
            align 64 symtab 2122505200 alias set -1 canonical type 0x7e9ed860>
        used private unsigned nonlocal decl_0 decl_3 DI file
/home/ktietz/source
/gcc-head/buildw64/x86_64-w64-mingw32/libstdc++-v3/include/bits/streambuf_iterat
or.h line 93 col 31 size <integer_cst 0x7eef0ae0 64> unit size <integer_cst
0x7e
9b9600 istreambuf_iterator>
        mutable
        chain <field_decl 0x7e4715c0 _M_c type <integer_type 0x7e60fd80
int_type
>
            used private nonlocal decl_0 decl_3 SI file
/home/ktietz/source/gcc-
head/buildw64/x86_64-w64-mingw32/libstdc++-v3/include/bits/streambuf_iterator.h
line 94 col 25
            size <integer_cst 0x7eef09c0 constant 32>
            unit size <integer_cst 0x7eef0760 constant 4>
            align 32 offset_align 128 offset <integer_cst 0x7eef0780 0> bit
offs
et <integer_cst 0x7eef0ae0 64> context <record_type 0x7e9b9600
istreambuf_iterat
or>
            mutable  chain <type_decl 0x7e5f6190 istreambuf_iterator>>> context
<namespace_decl 0x7edd00e0 std>
    full-name "struct std::istreambuf_iterator<char, std::char_traits<char> >"
    needs-constructor X() X(constX&) this=(X&) sorted-fields 0x7e461518
n_parent
s=1 use_template=1 interface-unknown
    pointer_to_this <pointer_type 0x7e471620> reference_to_this <reference_type
0x7e471c80> chain <type_decl 0x7e76cc50 istreambuf_iterator>>

At #2  0x00df0fc8 in vt_initialize () at ../../gcc/gcc/var-tracking.c:5787

Dump of t is:
 <tree_list 0x7e53c528
    value <record_type 0x7e9b9600 istreambuf_iterator asm_written
needs-construc
ting type_1 type_5 type_6 BLK
        size <integer_cst 0x7eef0ba0 constant 128>
        unit size <integer_cst 0x7eef0bc0 constant 16>
        align 64 symtab 2122505008 alias set 43 canonical type 0x7e9b9600
        fields <field_decl 0x7e471500 _M_sbuf type <pointer_type 0x7e471560>
            used private unsigned nonlocal decl_0 decl_3 DI file
/home/ktietz/so
urce/gcc-head/buildw64/x86_64-w64-mingw32/libstdc++-v3/include/bits/streambuf_it
erator.h line 93 col 31
            size <integer_cst 0x7eef0ae0 constant 64>
            unit size <integer_cst 0x7eef0b00 constant 8>
            align 64 offset_align 128
            offset <integer_cst 0x7eef0780 constant 0>
            bit offset <integer_cst 0x7eef0d20 constant 0> context <record_type
0x7e9b9600 istreambuf_iterator>
            mutable  chain <field_decl 0x7e4715c0 _M_c>> context
<namespace_decl
 0x7edd00e0 std>
        full-name "struct std::istreambuf_iterator<char, std::char_traits<char>
>"
        needs-constructor X() X(constX&) this=(X&) sorted-fields 0x7e461518
n_pa
rents=1 use_template=1 interface-unknown
        pointer_to_this <pointer_type 0x7e471620> reference_to_this
<reference_t
ype 0x7e471c80> chain <type_decl 0x7e76cc50 istreambuf_iterator>>
    chain <tree_list 0x7e53c510 value <record_type 0x7e9b9600
istreambuf_iterato
r>
        chain <tree_list 0x7e53c4f8 value <reference_type 0x7e91bee0>
            chain <tree_list 0x7e53c4e0 value <reference_type 0x7e79dda0>
                chain <tree_list 0x7e53c4c8 value <reference_type 0x7e753d80>
                    chain <tree_list 0x7ef90d08 value <void_type 0x7ef70ba0
void
>>>>>>>

reg has the value of NULL_RTX.

(gdb) call debug_rtx(call_arguments)
(expr_list:REG_DEP_TRUE (concat:DI (reg:DI 1 dx)
        (value/u:DI 76:76 @0x3b80c88/0x3b81730))
    (expr_list:REG_DEP_TRUE (concat:DI (reg:DI 2 cx)
            (value/u:DI 100:3633 @0x3b80ec8/0x3b8a028))
        (nil)))



More information about the Gcc-bugs mailing list