https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66283

--- Comment #1 from Gary Funck <gary at intrepid dot com> ---
FYI, this also results in a bootstrap failure for C++ on IA64, when configured
with:

CFLAGS='-g3 -O0' \
CXXFLAGS='-g3 -O0' \
$src/configure \
  --prefix=$rls \
  --enable-checking \
  --enable-languages=c,c++

/eng/upc/dev/gary/gcc-trunk/bld/./gcc/xgcc -shared-libgcc
-B/eng/upc/dev/gary/gcc-trunk/bld/./gcc -nostdinc++
 -L/eng/upc/dev/gary/gcc-trunk/bld/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/eng/upc/dev/gary/gcc-trunk/bld/
ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/eng/upc/dev/gary/gcc-trunk/bld/ia64-unknown-linux-gnu/libstd
c++-v3/libsupc++/.libs
-B/eng/upc/dev/gary/gcc-trunk/rls/ia64-unknown-linux-gnu/bin/
-B/eng/upc/dev/gary/gcc-
trunk/rls/ia64-unknown-linux-gnu/lib/ -isystem
/eng/upc/dev/gary/gcc-trunk/rls/ia64-unknown-linux-gnu/include
 -isystem /eng/upc/dev/gary/gcc-trunk/rls/ia64-unknown-linux-gnu/sys-include   
-x c++-header -nostdinc++ -O2
 -g3 -O0 -D_GNU_SOURCE 
-I/eng/upc/dev/gary/gcc-trunk/bld/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-un
known-linux-gnu
-I/eng/upc/dev/gary/gcc-trunk/bld/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/eng/upc/dev/
gary/gcc-trunk/src/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/eng/upc/dev/gary/gcc-trunk/src/libstdc++-v3/in
clude/precompiled/stdc++.h \
        -o ia64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /usr/include/bits/types.h:131:0,
                 from /usr/include/ctype.h:28,
                 from
/eng/upc/dev/gary/gcc-trunk/bld/ia64-unknown-linux-gnu/libstdc++-v3/include/cctype:42,
                 from
/eng/upc/dev/gary/gcc-trunk/src/libstdc++-v3/include/precompiled/stdc++.h:35:
/usr/include/bits/types.h:144:12: error: type variant differs by
TYPE_NO_FORCE_BLK.
 __STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs.  */
            ^
 <record_type 0x2000000000778928 ._0 asm_written no-force-blk type_5 BLK
    size <integer_cst 0x20000000005624f0 type <integer_type 0x20000000005a0150
bitsizetype> constant 64>
    unit size <integer_cst 0x2000000000562508 type <integer_type
0x20000000005a00a8 sizetype> constant 8>
    align 32 symtab 6757648 alias set -1 canonical type 0x2000000000778928
    fields <field_decl 0x2000000000655ad8 __val
        type <array_type 0x2000000000778b20 type <integer_type
0x20000000005a0690 int>
            asm_written no-force-blk BLK size <integer_cst 0x20000000005624f0
64> unit size <integer_cst 0x20
00000000562508 8>
            align 32 symtab 6757728 alias set -1 canonical type
0x2000000000778b20 domain <integer_type 0x200
0000000775400>>
        nonlocal decl_3 BLK file /usr/include/bits/types.h line 144 col 12 size
<integer_cst 0x20000000005624
f0 64> unit size <integer_cst 0x2000000000562508 8>
        align 32 offset_align 128
        offset <integer_cst 0x2000000000562520 constant 0>
        bit offset <integer_cst 0x2000000000562568 constant 0> context
<record_type 0x2000000000778928 ._0>
        chain <type_decl 0x2000000000655a40 ._0 type <record_type
0x20000000007789d0 ._0>
            nonlocal in_system_header decl_4 VOID file
/usr/include/bits/types.h line 144 col 12
            align 1 context <record_type 0x2000000000778928 ._0> result
<record_type 0x2000000000778928 ._0>
           >> context <translation_unit_decl 0x2000000000520078 D.1>
    full-name "struct<anonymous>"
    X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown
    chain <type_decl 0x20000000006559a8 ._0>>
 <record_type 0x20000000007789d0 ._0 type_5 BLK
    size <integer_cst 0x20000000005624f0 type <integer_type 0x20000000005a0150
bitsizetype> constant 64>
    unit size <integer_cst 0x2000000000562508 type <integer_type
0x20000000005a00a8 sizetype> constant 8>
    align 32 symtab 0 alias set -1 canonical type 0x2000000000778928
    fields <field_decl 0x2000000000655ad8 __val
        type <array_type 0x2000000000778b20 type <integer_type
0x20000000005a0690 int>
            asm_written no-force-blk BLK size <integer_cst 0x20000000005624f0
64> unit size <integer_cst 0x20
00000000562508 8>
            align 32 symtab 6757728 alias set -1 canonical type
0x2000000000778b20 domain <integer_type 0x200
0000000775400>>
        nonlocal decl_3 BLK file /usr/include/bits/types.h line 144 col 12 size
<integer_cst 0x20000000005624
f0 64> unit size <integer_cst 0x2000000000562508 8>
        align 32 offset_align 128
        offset <integer_cst 0x2000000000562520 constant 0>
        bit offset <integer_cst 0x2000000000562568 constant 0> context
<record_type 0x2000000000778928 ._0>
        chain <type_decl 0x2000000000655a40 ._0 type <record_type
0x20000000007789d0 ._0>
            nonlocal in_system_header decl_4 VOID file
/usr/include/bits/types.h line 144 col 12
            align 1 context <record_type 0x2000000000778928 ._0> result
<record_type 0x2000000000778928 ._0>
           >> context <translation_unit_decl 0x2000000000520078 D.1>
    full-name "struct<anonymous>"
    X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown
    chain <type_decl 0x20000000006559a8 ._0>>
/usr/include/bits/types.h:144:12: internal compiler error: verify_type failed
0x4000000002b2b9bf verify_type(tree_node const*)
        /eng/upc/dev/gary/gcc-trunk/src/gcc/tree.c:13277
0x4000000001128ddf gen_type_die_with_usage
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20250
0x400000000112a7bf gen_type_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20434
0x40000000011305df gen_decl_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20987
0x400000000112573f gen_member_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:19945
0x4000000001126f2f gen_struct_or_union_type_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20038
0x4000000001128c1f gen_tagged_type_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20227
0x4000000001129e7f gen_type_die_with_usage
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20381
0x400000000112a7bf gen_type_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20434
0x40000000011305df gen_decl_die
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:20987
0x4000000001133d4f dwarf2out_decl
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:21397
0x400000000113144f dwarf2out_type_decl
        /eng/upc/dev/gary/gcc-trunk/src/gcc/dwarf2out.c:21096
0x4000000001cd211f rest_of_type_compilation(tree_node*, int)
        /eng/upc/dev/gary/gcc-trunk/src/gcc/passes.c:309
0x400000000062880f finish_struct_1(tree_node*)
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/class.c:6723
0x400000000062b47f finish_struct(tree_node*, tree_node*)
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/class.c:6888
0x400000000074f7ef cp_parser_class_specifier_1
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/parser.c:19877
0x40000000007520ef cp_parser_class_specifier
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/parser.c:20105
0x400000000072d45f cp_parser_type_specifier
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/parser.c:14734
0x400000000071e51f cp_parser_decl_specifier_seq
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/parser.c:11965
0x400000000071c01f cp_parser_simple_declaration
        /eng/upc/dev/gary/gcc-trunk/src/gcc/cp/parser.c:11542

Reply via email to