https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86412
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking Target| |x86_64-pc-linux-gnu Status|UNCONFIRMED |NEW Last reconfirmed| |2018-07-05 CC| |hubicka at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |6.4.1, 7.3.1, 8.1.1, 9.0 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed everywhere with the reduced testcase (the pasted one misses a line). We run into tree lto_symtab_prevailing_virtual_decl (tree decl) { ... gcc_checking_assert (!type_in_anonymous_namespace_p (DECL_CONTEXT (decl)) && DECL_ASSEMBLER_NAME_SET_P (decl)); where type_in_anonymous_namespace_p (DECL_CONTEXT (decl)) is true. TYPE_STUB_DECL is <type_decl 0x7ffff6a822f8 e type <record_type 0x7ffff6a84348 e addressable needs-constructing BLK size <integer_cst 0x7ffff688dbe8 constant 64> unit-size <integer_cst 0x7ffff688dc00 constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff6a84348 fields <field_decl 0x7ffff6a82260 D.4260 type <record_type 0x7ffff6a842a0 c> ignored BLK t.C:6:27 size <integer_cst 0x7ffff688dbe8 64> unit-size <integer_cst 0x7ffff688dc00 8> align:64 warn_if_not_align:0 offset_align 128 offset <integer_cst 0x7ffff688dc18 constant 0> bit-offset <integer_cst 0x7ffff688dc60 constant 0> context <record_type 0x7ffff6a84348 e>> context <translation_unit_decl 0x7ffff6897168 t.C> pointer_to_this <pointer_type 0x7ffff6a843f0> chain <type_decl 0x7ffff6a822f8 e>> BLK t.C:6:27 align:8 warn_if_not_align:0 context <translation_unit_decl 0x7ffff6897168 t.C>>