[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 21 19:38:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #3)
> (In reply to Eric Gallager from comment #2)
> > I would prefer this second approach.
>
> The downside of it is that it requires adding a keyword that the standard
> says is completely redundant, in order to get compiler-specific behaviour.
> It's not clear why it's there, or if it's OK to remove it.
>
> A compiler-specific attribute obviously has compiler-specific effects.
As someone who likes redundancy when it's done for the benefit of explicitness,
I don't necessarily see that as a downside.
More information about the Gcc-bugs
mailing list