This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix pr25446


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]