This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] attribute((inline_everything)) (was Re: [RFA] Kill artificialinlining limit)
- From: Michael Matz <matz at suse dot de>
- To: Phil Edwards <phil at jaj dot com>
- Cc: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>,Steven Bosscher <s dot bosscher at student dot tudelft dot nl>,<gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 May 2003 21:06:57 +0200 (CEST)
- Subject: Re: [RFA] attribute((inline_everything)) (was Re: [RFA] Kill artificialinlining limit)
Hi,
On Tue, 13 May 2003, Phil Edwards wrote:
> > Which part actually? noinline marks the function as not supposed to be
> > inlined, inline_everything marks the function to inline all its function
> > calls.
>
> That's not the /most/ unintuitive interface I've ever encountered, but it's
> very very close.
Call it proof-of-concept. _I_ can see the use in such an attribute.
Certainly Richard indeed _has_ a use for it. That the interface is
slightly funny is fixable most probably. Richard gave an explanation for
that crumpy interface.
Richard: Indeed the interface is ugly. If anything, the existance of the
flatten_all_calls attribute (I think thats a better though not optimal
name) should implicitely set the noinline attribute. Reasoning is like
yours.
Ciao,
Michael.