https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121692
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Inlining fails with |Inlining fails with
|builtin_constant_p |builtin_constant_p and cold
| |attribute
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So with the cold attribute, small "functions" don't inline always:
```
Deciding on inlining of small functions. Starting with size 0.
/app/example.cpp:66:15: missed: not inlinable: __order_base_2.part.0/17 ->
__flogr/1, call is unlikely and code size would grow
```
Maybe cold is not the right attribute here.