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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-05-05
                 CC|                            |cmang at google dot com,
                   |                            |marxin at gcc dot gnu.org
          Component|lto                         |go
           Assignee|unassigned at gcc dot gnu.org      |ian at airs dot com
     Ever confirmed|0                           |1
      Known to fail|                            |6.3.0, 7.1.0, 8.0

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, checking assert is triggered for:

Breakpoint 1, symtab_node::get_partitioning_class (this=0x7ffff69dab80) at
../../gcc/symtab.c:1866
1866          gcc_checking_assert (vnode->definition);
(gdb) p vnode->debug()
__go_tdn_unicode.SpecialCase$gc/164 (__go_tdn_unicode.SpecialCase$gc)
@0x7ffff69dab80
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: public artificial
  References: 
  Referring:
__go_td_S6_._f.$fpv16_.go_bytes._case1pN19_unicode.SpecialCasexe$gc/40 (addr)
  Availability: not_available
  Varpool flags:
$3 = void
(gdb) bt
#0  symtab_node::get_partitioning_class (this=0x7ffff69dab80) at
../../gcc/symtab.c:1866
#1  0x0000000000b7f8cd in lto_output_varpool_node (ob=<optimized out>,
ob=<optimized out>, encoder=0x2515e80, node=0x7ffff69dab80) at
../../gcc/lto-cgraph.c:615
#2  output_symtab () at ../../gcc/lto-cgraph.c:1026
#3  0x0000000000b92ad3 in lto_output () at ../../gcc/lto-streamer-out.c:2390
#4  0x0000000000c072bf in write_lto () at ../../gcc/passes.c:2582
#5  0x0000000000c0b221 in ipa_write_summaries_1 (encoder=0x2515e80) at
../../gcc/passes.c:2646
#6  ipa_write_summaries () at ../../gcc/passes.c:2706
#7  0x00000000008b3610 in ipa_passes () at ../../gcc/cgraphunit.c:2373
#8  symbol_table::compile (this=0x7ffff6864100) at ../../gcc/cgraphunit.c:2467
#9  0x00000000008b5e18 in symbol_table::finalize_compilation_unit
(this=0x7ffff6864100) at ../../gcc/cgraphunit.c:2626
#10 0x0000000000ce7f4a in compile_file () at ../../gcc/toplev.c:493
#11 0x000000000071ff6c in do_compile () at ../../gcc/toplev.c:2004
#12 toplev::main (this=this@entry=0x7fffffffdaf0, argc=<optimized out>,
argc@entry=17, argv=<optimized out>, argv@entry=0x7fffffffdbf8) at
../../gcc/toplev.c:2138
#13 0x0000000000722489 in main (argc=17, argv=0x7fffffffdbf8) at
../../gcc/main.c:40

Reply via email to