This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66490] New: [6 Regression] ICE verify_type failed for -g at tree.c:13450 (TYPE_CANONICAL is not compatible)
- From: "alserkli at inbox dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Jun 2015 14:36:51 +0000
- Subject: [Bug c++/66490] New: [6 Regression] ICE verify_type failed for -g at tree.c:13450 (TYPE_CANONICAL is not compatible)
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66490
Bug ID: 66490
Summary: [6 Regression] ICE verify_type failed for -g at
tree.c:13450 (TYPE_CANONICAL is not compatible)
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Target Milestone: ---
Created attachment 35741
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35741&action=edit
from root/core/meta/src/TClingCallFunc.cxx (commit e1ef990 in
root.cern.ch/git/root.git)
g++ (GCC) 6.0.0 20150610 (experimental)
$ g++ -std=c++11 -g -c a.ii
a.ii: In instantiation of 'class std::vector<llvm::GenericValue>':
a.ii:156269:29: required from here
a.ii:8693:11: error: TYPE_CANONICAL is not compatible
class vector : protected _Vector_base<_Tp, _Alloc>
^
<record_type 0x7fb755369b28 GenericValue readonly type_5 type_6 VOID
align 8 symtab 1348798416 alias set -1 canonical type 0x7fb755369b28
context <namespace_decl 0x7fb764622c78 llvm>
full-name "const struct llvm::GenericValue"
n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x7fb754f5adc8> reference_to_this
<reference_type 0x7fb755369c78>>
<record_type 0x7fb75506eb28 value_type readonly used type_5 type_6 VOID
align 8 symtab 1348956800 alias set -1 canonical type 0x7fb755369b28
fields <field_decl 0x7fb754bc9e40 IntVal
type <record_type 0x7fb769453690 APInt addressable asm_written
needs-constructing type_1 type_4 type_5 type_6 BLK
size <integer_cst 0x7fb76a628ea0 constant 128>
unit size <integer_cst 0x7fb76a628eb8 constant 16>
align 64 symtab 1684254464 alias set -1 canonical type
0x7fb769453690 fields <field_decl 0x7fb76077b2f8 BitWidth> context
<namespace_decl 0x7fb764622c78 llvm>
full-name "class llvm::APInt"
needs-constructor needs-destructor X() X(constX&) this=(X&)
sorted-fields 0x7fb76164d958 n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x7fb76077db28> reference_to_this
<reference_type 0x7fb7693d3a80> chain <type_decl 0x7fb7643ffab0 APInt>>
decl_3 VOID file a.ii line 156268 col 9
align 1 offset_align 1 context <record_type 0x7fb762977690
GenericValue>
chain <field_decl 0x7fb754bc9980 D.707620 type <union_type
0x7fb754f57930 ._295>
VOID file a.ii line 156261 col 3
align 1 offset_align 1 context <record_type 0x7fb762977690
GenericValue> chain <type_decl 0x7fb754bb2720 GenericValue>>> context
<namespace_decl 0x7fb764622c78 llvm>
full-name "const value_type"
n_parents=0 use_template=0 interface-unknown reference_to_this
<reference_type 0x7fb75506ebd0>>
a.ii:8693:11: internal compiler error: verify_type failed
0xf5e2f4 verify_type(tree_node const*)
/gcc/gcc/tree.c:13450
0x962a74 gen_type_die_with_usage
/gcc/gcc/dwarf2out.c:20653
0x9631b5 gen_type_die_with_usage
/gcc/gcc/dwarf2out.c:20751
0x966057 gen_formal_types_die
/gcc/gcc/dwarf2out.c:18198
0x95d4a7 gen_subprogram_die
/gcc/gcc/dwarf2out.c:19055
0x96173a gen_decl_die
/gcc/gcc/dwarf2out.c:21402
0x9605fa gen_member_die
/gcc/gcc/dwarf2out.c:20345
0x9605fa gen_struct_or_union_type_die
/gcc/gcc/dwarf2out.c:20429
0x9605fa gen_tagged_type_die
/gcc/gcc/dwarf2out.c:20630
0x963545 gen_type_die_with_usage
/gcc/gcc/dwarf2out.c:20792
0x96146e gen_decl_die
/gcc/gcc/dwarf2out.c:21425
0x96228c dwarf2out_decl
/gcc/gcc/dwarf2out.c:21875
0x96260b dwarf2out_type_decl
/gcc/gcc/dwarf2out.c:21585
0xc0544f rest_of_type_compilation(tree_node*, int)
/gcc/gcc/passes.c:351
0x697cf3 finish_struct_1(tree_node*)
/gcc/gcc/cp/class.c:6714
0x66974f instantiate_class_template_1
/gcc/gcc/cp/pt.c:9625
0x66974f instantiate_class_template(tree_node*)
/gcc/gcc/cp/pt.c:9665
0x704ceb complete_type(tree_node*)
/gcc/gcc/cp/typeck.c:140
0x609b6b grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
/gcc/gcc/cp/decl.c:10790
0x6a9cd6 grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_node*,
bool, tree_node*, tree_node*)
/gcc/gcc/cp/decl2.c:879
compiles OK without "-g"