On Thu, Nov 28, 2024 at 01:03:01PM +0100, Richard Biener wrote:
> > I think auto_inline and inline would be just confusing, even in the negative
> > forms.  We actually "auto-inline" even functions not declared inline, just
> > with different heuristics.
> 
> But inline __attribute__((feeble_inline)) is exactly 'auto-inline', no?

No.  inline is that 'auto-inline' (with the meaning, do what IPA does with
DECL_DECLARED_INLINE_P right now, use it as a hint to inline stuff, higher
limits and the like).
inline __attribute__((feeble_inline)) is that 'default', i.e. for IPA
purposes handle it as if it wasn't explicitly inline.  Except that the FE
do what they should do with any inline, e.g. make it comdat, for constexpr
constexpr, handle static variables in those specially, ...

        Jakub

Reply via email to