This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix pr25446
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 01 Aug 2007 18:30:42 -0700
- Subject: Re: [PATCH] fix pr25446
- References: <20070726182149.GA30488@sparrowhawk.codesourcery.com>
Nathan Froyd wrote:
> gcc/
> 2007-07-26 Nathan Froyd <froydnj@codesourcery.com>
>
> PR/25446
> * c-objc-common.c (c_cannot_inline_tree_fn): Check for an
> always_inline attribute on the function decl.
This is OK.
However:
+ if (flag_really_no_inline && always_inline == NULL)
+ if (always_inline == NULL
we generally use "!always_inline" in these cases -- which especially
makes sense here in that the tree returned by lookup_attribute is really
just being used as a boolean.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713