[Bug ipa/92077] Multiple independent functions degrades optimizations

2020-01-15 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92077

--- Comment #4 from Jan Hubicka  ---
We have --param comdat-sharing-probablity which says that average comdat
function has only 20% chance to be shared with another copy of same comdat in
other unit. This was introduced because of Firefox developers complaining that
-Os increases size of C++ and I measured that value somehow in 2010 or so.

It may make sense to re-test if that param works as expected today.

[Bug ipa/92077] Multiple independent functions degrades optimizations

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92077

Richard Biener  changed:

   What|Removed |Added

   Keywords||missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-10-14
 CC||hubicka at gcc dot gnu.org
  Component|c++ |ipa
 Ever confirmed|0   |1

--- Comment #3 from Richard Biener  ---
Yeah, not sure what we can do about this - it seems that comdat fns are subject
to inline-called-once heuristics but should they really?  I think not.