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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> Which of those 3, or all of them?

At the end, I see changes in all of them - but I am not sure whether all of
them in all lines.


If I add a 'printf' to gcc/cgraph.h's symbol_table::register_symbol (which
bumps 'order' alias symbol_order), the no-debug version has the following 11
additional symbols at some point; the first being:

symbol_table::register_symbol: order=3774 name=static constexpr bool
std::_PCC<<anonymous>, _T1, _T2>::_ConstructiblePair() [with _U1 =
std::_Rb_tree_node_base*; _U2 = std::_Rb_tree_node_base*; bool <anonymous> =
true; _T1 = std::_Rb_tree_node_base*; _T2 = std::_Rb_tree_node_base*]


This one comes from   gcc-trunk/include/c++/10.0.0/bits/stl_pair.h:100:29
and the backtrace is:

#0  symtab_node::register_symbol (this=0x7fffeba9b168) at
../../gcc/symtab.c:379
#1  0x0000000000ba00e9 in cgraph_node::create(tree_node*) () at
../../gcc/cgraph.c:523
#2  0x0000000000b9ff11 in cgraph_node::get_create(tree_node*) () at
../../gcc/cgraph.c:545
#3  0x0000000000af6f51 in c_genericize(tree_node*) () at
../../gcc/c-family/c-gimplify.c:152
#4  0x0000000000916498 in cp_genericize(tree_node*) () at
../../gcc/cp/cp-gimplify.c:1809
#5  0x0000000000952312 in finish_function(bool) () at ../../gcc/cp/decl.c:16272
#6  0x0000000000a24cc4 in instantiate_decl(tree_node*, bool, bool) () at
../../gcc/cp/pt.c:24794
#7  0x00000000008f869d in instantiate_cx_fn_r(tree_node**, int*, void*) () at
../../gcc/cp/constexpr.c:5296


A bit later, I see lines for -g3 only, which come in addition for
'std::_Vector_base<std::vector<...'

Reply via email to