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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-10-04
                 CC|                            |jamborm at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
          Component|lto                         |ipa
     Ever confirmed|0                           |1
      Known to fail|                            |9.2.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I see IPA-CP being applied and that function not inlined.

Deciding on inlining of small functions.  Starting with size 9.
Enqueueing calls in fun.constprop/9.
Enqueueing calls in main/3.
missed:   not inlinable: main/3 -> fun.constprop/9, mismatched arguments
Unit growth for small function inlining: 9->9 (0%)

looks like the inliner predicate needs to consider IPA-CP transform
being applied somehow?

Reply via email to