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

--- Comment #1 from jseward at acm dot org ---
sewardj@dundee[6X]:~/MOZ$ c++ -c Unified_cpp_dom_animation0.ii -Wall
-Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual
-Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
-Wc++14-compat -Wno-invalid-offsetof -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-exceptions
-fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++11
-pthread -pipe -g -g -Og -fno-omit-frame-pointer -Wshadow
In file included from
/home/sewardj/MOZ/MC-MOCHI/ff-Og-linux64/dom/animation/Unified_cpp_dom_animation0.cpp:137:0:
/home/sewardj/MOZ/MC-MOCHI/dom/animation/PendingAnimationTracker.cpp: In
function ‘T&& mozilla::Forward(typename mozilla::RemoveReference<T>::Type&)
[with T = const mozilla::CSSPseudoElementType&]’:
/home/sewardj/MOZ/MC-MOCHI/dom/animation/PendingAnimationTracker.cpp:124:1:
error: type variant has different TREE_TYPE
 } // namespace mozilla
 ^
 <enumeral_type 0x7fb946878498 CSSPseudoElementType
    type <integer_type 0x7fb94bc15000 uint8_t sizes-gimplified asm_written
public unsigned string-flag type_6 QI
        size <integer_cst 0x7fb94bd94f48 constant 8>
        unit size <integer_cst 0x7fb94bd94f60 constant 1>
        align 8 symtab 1270682720 alias set -1 canonical type 0x7fb94bd98540
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>
        pointer_to_this <pointer_type 0x7fb94a8551f8> reference_to_this
<reference_type 0x7fb9437dcc78>>
    sizes-gimplified asm_written static unsigned type_5 type_6 QI size
<integer_cst 0x7fb94bd94f48 8> unit size <integer_cst 0x7fb94bd94f60 1>
    align 8 symtab 1173426976 alias set -1 canonical type 0x7fb946878498
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>
    values <tree_list 0x7fb946a94668
        purpose <identifier_node 0x7fb94ae49160 after
            bindings <(nil)>
            local bindings <(nil)>>
        value <const_decl 0x7fb945e98a80 after type <enumeral_type
0x7fb946878498 CSSPseudoElementType>
            readonly constant used VOID file
/home/sewardj/MOZ/MC-MOCHI/layout/style/nsCSSPseudoElementList.h line 28 col 1
            align 1 context <enumeral_type 0x7fb946878498 CSSPseudoElementType>
initial <integer_cst 0x7fb945eecc60 0>>
        chain <tree_list 0x7fb946a94690
            purpose <identifier_node 0x7fb94ae491b8 before
                bindings <(nil)>
                local bindings <(nil)>> value <const_decl 0x7fb945e98af0
before>
            chain <tree_list 0x7fb946a946b8
                purpose <identifier_node 0x7fb94ae49210 backdrop
                    bindings <(nil)>
                    local bindings <(nil)>> value <const_decl 0x7fb945e98b60
backdrop>
                chain <tree_list 0x7fb946a946e0
                    purpose <identifier_node 0x7fb94ae49268 firstLetter
                        bindings <(nil)>
                        local bindings <(nil)>> value <const_decl
0x7fb945e98bd0 firstLetter>
                    chain <tree_list 0x7fb946a94708
                        purpose <identifier_node 0x7fb94ae492c0 firstLine
                            bindings <(nil)>
                            local bindings <(nil)>> value <const_decl
0x7fb945e98c40 firstLine>
                        chain <tree_list 0x7fb946a94730 purpose
<identifier_node 0x7fb94ae49318 mozSelection> value <const_decl 0x7fb945e98cb0
mozSelection> chain <tree_list 0x7fb946a94758>>>>>>> context <namespace_decl
0x7fb94bef1390 mozilla>
    pointer_to_this <pointer_type 0x7fb938464c78> reference_to_this
<reference_type 0x7fb93d4f9000> chain <type_decl 0x7fb94687c558
CSSPseudoElementType>>
/home/sewardj/MOZ/MC-MOCHI/dom/animation/PendingAnimationTracker.cpp:124:1:
error: type variant's TREE_TYPE
 <integer_type 0x7fb94bc15000 uint8_t sizes-gimplified asm_written public
unsigned string-flag type_6 QI
    size <integer_cst 0x7fb94bd94f48 type <integer_type 0x7fb94bd982a0
bitsizetype> constant 8>
    unit size <integer_cst 0x7fb94bd94f60 type <integer_type 0x7fb94bd981f8
sizetype> constant 1>
    align 8 symtab 1270682720 alias set -1 canonical type 0x7fb94bd98540
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>
    pointer_to_this <pointer_type 0x7fb94a8551f8> reference_to_this
<reference_type 0x7fb9437dcc78>>
/home/sewardj/MOZ/MC-MOCHI/dom/animation/PendingAnimationTracker.cpp:124:1:
error: type's TREE_TYPE
 <integer_type 0x7fb945f12b28 CSSPseudoElementTypeBase sizes-gimplified
asm_written public unsigned string-flag type_6 QI
    size <integer_cst 0x7fb94bd94f48 type <integer_type 0x7fb94bd982a0
bitsizetype> constant 8>
    unit size <integer_cst 0x7fb94bd94f60 type <integer_type 0x7fb94bd981f8
sizetype> constant 1>
    align 8 symtab 1173427056 alias set -1 canonical type 0x7fb94bd98540
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>>
 <enumeral_type 0x7fb945f193f0 CSSPseudoElementType
    type <integer_type 0x7fb945f12b28 CSSPseudoElementTypeBase sizes-gimplified
asm_written public unsigned string-flag type_6 QI
        size <integer_cst 0x7fb94bd94f48 constant 8>
        unit size <integer_cst 0x7fb94bd94f60 constant 1>
        align 8 symtab 1173427056 alias set -1 canonical type 0x7fb94bd98540
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>>
    readonly sizes-gimplified static unsigned type_5 type_6 QI size
<integer_cst 0x7fb94bd94f48 8> unit size <integer_cst 0x7fb94bd94f60 1>
    align 8 symtab 921920128 alias set -1 canonical type 0x7fb945f193f0
precision 8 min <integer_cst 0x7fb94bd94f78 0> max <integer_cst 0x7fb94bd94f18
255>
    values <tree_list 0x7fb946a94668
        purpose <identifier_node 0x7fb94ae49160 after
            bindings <(nil)>
            local bindings <(nil)>>
        value <const_decl 0x7fb945e98a80 after type <enumeral_type
0x7fb946878498 CSSPseudoElementType>
            readonly constant used VOID file
/home/sewardj/MOZ/MC-MOCHI/layout/style/nsCSSPseudoElementList.h line 28 col 1
            align 1 context <enumeral_type 0x7fb946878498 CSSPseudoElementType>
initial <integer_cst 0x7fb945eecc60 0>>
        chain <tree_list 0x7fb946a94690
            purpose <identifier_node 0x7fb94ae491b8 before
                bindings <(nil)>
                local bindings <(nil)>> value <const_decl 0x7fb945e98af0
before>
            chain <tree_list 0x7fb946a946b8
                purpose <identifier_node 0x7fb94ae49210 backdrop
                    bindings <(nil)>
                    local bindings <(nil)>> value <const_decl 0x7fb945e98b60
backdrop>
                chain <tree_list 0x7fb946a946e0
                    purpose <identifier_node 0x7fb94ae49268 firstLetter
                        bindings <(nil)>
                        local bindings <(nil)>> value <const_decl
0x7fb945e98bd0 firstLetter>
                    chain <tree_list 0x7fb946a94708
                        purpose <identifier_node 0x7fb94ae492c0 firstLine
                            bindings <(nil)>
                            local bindings <(nil)>> value <const_decl
0x7fb945e98c40 firstLine>
                        chain <tree_list 0x7fb946a94730 purpose
<identifier_node 0x7fb94ae49318 mozSelection> value <const_decl 0x7fb945e98cb0
mozSelection> chain <tree_list 0x7fb946a94758>>>>>>> context <namespace_decl
0x7fb94bef1390 mozilla>
    pointer_to_this <pointer_type 0x7fb93bc9b348> reference_to_this
<reference_type 0x7fb93bc9bd20>>
/home/sewardj/MOZ/MC-MOCHI/dom/animation/PendingAnimationTracker.cpp:124:1:
internal compiler error: verify_type failed
0xf9f9e2 verify_type(tree_node const*)
        ../../gcc-6-20160410/gcc/tree.c:13908
0x9a1dd4 gen_type_die_with_usage
        ../../gcc-6-20160410/gcc/dwarf2out.c:22703
0x9a2439 gen_type_die_with_usage
        ../../gcc-6-20160410/gcc/dwarf2out.c:22805
0x9a31b6 gen_type_die
        ../../gcc-6-20160410/gcc/dwarf2out.c:22901
0x99b17f gen_decl_die
        ../../gcc-6-20160410/gcc/dwarf2out.c:23454
0x99b90e dwarf2out_decl
        ../../gcc-6-20160410/gcc/dwarf2out.c:23953
0x9b3078 dwarf2out_early_global_decl
        ../../gcc-6-20160410/gcc/dwarf2out.c:23626
0x9295ab symbol_table::finalize_compilation_unit()
        ../../gcc-6-20160410/gcc/cgraphunit.c:2556
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
sewardj@dundee[6X]:~/MOZ$ gcc --version
gcc (GCC) 6.0.0 20160410 (experimental)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply via email to