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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-01-25

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
The problematic symbol is:

Breakpoint 1, cgraph_edge::possibly_call_in_translation_unit_p
(this=0x7ffff7629270) at /home/marxin/Programming/gcc/gcc/cgraph.cc:4159
4159      gcc_checking_assert (in_lto_p && caller->prevailing_p ());
(gdb) p node->debug()
_ZN1aIN12_GLOBAL__N_11fEED1Ev/5 (__dt_comp )
  Type: function
  Visibility: semantic_interposition external virtual
  References: 
  Referring: 
  Read from file: a-pr88049_0.o
  Unit id: 1
  Function flags:
  Called by: _Z41__static_initialization_and_destruction_0v/2 
  Calls: 

(gdb) p debug_tree(node->decl)
 <function_decl 0x7ffff747db00 __dt_comp 
    type <method_type 0x7ffff747be70
        type <void_type 0x7ffff763af18 void VOID
            align:8 warn_if_not_align:0 symtab:0 alias-set -1
structural-equality
            pointer_to_this <pointer_type 0x7ffff7642000>>
        QI
        size <integer_cst 0x7ffff7620d38 constant 8>
        unit-size <integer_cst 0x7ffff7620d50 constant 1>
        align:8 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
method basetype <record_type 0x7ffff747bbd0 a>
        arg-types <tree_list 0x7ffff747aed8 value <pointer_type 0x7ffff747bd20>
            chain <tree_list 0x7ffff7639de8 value <void_type 0x7ffff763af18
void>>>
        pointer_to_this <pointer_type 0x7ffff747b3f0>>
    addressable external virtual QI
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/lto/pr88049_0.C:12:11
align:16 warn_if_not_align:0 context <record_type 0x7ffff747bbd0 a>>
$2 = void

Reply via email to