This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: always_inline attribute
- From: Jason Merrill <jason at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>,"Joseph S. Myers" <jsm28 at cam dot ac dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 23 Feb 2002 16:47:42 +0000
- Subject: Re: patch: always_inline attribute
- References: <877DF7FA-2667-11D6-BCEB-000393750C1E@redhat.com>
>>>>> "Aldy" == Aldy Hernandez <aldyh@redhat.com> writes:
> + if (optimize == 0
> + && lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)) == NULL)
> + return 1;
Woops, looks like my earlier mail came too late. Please conditionalize
this stuff on a flag other than optimize, so that -O1 -fno-inline still
works. You'll probably have to add Yet Another inlining flag. While
you're at it, you might as well make -O0 -finline work.
Thanks,
Jason