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

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
bool    
cgraph_node::check_calls_comdat_local_p ()
{
  for (cgraph_edge *e = callees; e; e = e->next_callee)
    if (e->inline_failed
        ? e->callee->comdat_local_p ()
        : e->callee->check_calls_comdat_local_p ())
      return true;
  return false;
}   

that also looks exponential for deep inline stacks.  And it shows the
checking is bogus, that !e->inline_failed is comdat-local doesn't matter.

Reply via email to