This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR 17115: Do not warn for noinline functions
On Tue, 5 Oct 2004 04:02:50 +0200, "Giovanni Bajo" <giovannibajo@libero.it> wrote:
> Jason Merrill wrote:
>
>> Hmm, the noinline attribute is currently local to the front ends.
>> This seems safe enough,
>
> I was mimicing the way we were handling attribute always_inline a few lines
> above. Actually, it looks weird to me that noinline and always_inline are
> handled in such a different way (one totally inside the frontends, one in the
> middle end?). Or maybe I am still missing something...
>
> Is there a good reason to keep attribute noinline within the frontends?
Not particularly. My suggestion was just that; if you think it would be
more trouble than it's worth, your patch is fine.
Jason