https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008
--- Comment #15 from Luke Dalessandro <ldalessandro at gmail dot com> --- (In reply to Jonathan Wakely from comment #5) > > IMO the ideal solution is for GCC to stop using whether a function is inline > as an optimisation hint. Then we wouldn't need some extra GCC-specific way > to override that. I'd vote to just do this and provide an attribute that's weaker than [[gnu::always_inline]] for those that need it. No need to change any underlying language stuff.