This is the mail archive of the
mailing list for the GCC project.
Re: [RFA] __attribute__((inline_everything)) 2nd try
- From: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 May 2003 12:19:35 +0200 (CEST)
- Subject: Re: [RFA] __attribute__((inline_everything)) 2nd try
On Wed, 14 May 2003, Michael Matz wrote:
> On Wed, 14 May 2003, Richard Guenther wrote:
> > I finally got it working - apart from automatically setting
> > __attribute__((noinline)), if __attribute__((inline_everything)) is
> > specified - how am I supposed to do this?
> c-common.c. Add a handle_inline_everything_attribute() function, and
> clone it from handle_noinline_attribute().
> Then look for all occurences of "noinline" in the .c files, and decide if
> you need to do something special with them. Most of them are explicit
> lookup_attribute calls, dealing with warning about conflicting attribute
Ok, thanks - all lookup_attribute() calls deal with warnings only, so I
suppose I can ignore those. The inlining decision itself is done via
DECL_UNINLINABLE - I suppose setting this is enough. I'll try.
> I still think the name is ugly ;)
Me too ;) But I didnt manage to find a better one, yet.
Richard Guenther <richard dot guenther at uni-tuebingen dot de>