This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__((leafify))
On Friday 06 June 2003 02:19 pm, Gabriel Dos Reis wrote:
> "Michael S. Zick" <mszick@goquest.com> writes:
>
> [...]
>
> | Perhaps an attribute on the function definitation - not to effect
> | in-lining: __attribute__((keep_tree))
>
> I think we should be cautious about attributes multiplication. If
> the inlining machinery is defective about inlining leaf functions I'm
> not sure we should introdure yet another attribute that exposes the
> compiler internal details at the user program level.
>
Probably a good enough reason to ignore the suggestion.
Plus, of course, adding a source level feature is usually a one-way
trip -- you can add them but rarely take them away.
After all, the user can simply edit the source; which, in this
circumstance, they already are editing the source.
>
> -- Gaby