Re: [patch] Add missing test for DECL_NO_INLINE_WARNING_P

2011-04-19 Thread Richard Guenther
On Tue, Apr 19, 2011 at 1:06 PM, Eric Botcazou wrote: > Hi, > > tree_inlinable_function_p issues the -Winline warning only if > >  /* We only warn for functions declared `inline' by the user.  */ >  do_warning = (warn_inline >                && DECL_DECLARED_INLINE_P (fn) >                && !DECL

[patch] Add missing test for DECL_NO_INLINE_WARNING_P

2011-04-19 Thread Eric Botcazou
Hi, tree_inlinable_function_p issues the -Winline warning only if /* We only warn for functions declared `inline' by the user. */ do_warning = (warn_inline && DECL_DECLARED_INLINE_P (fn) && !DECL_NO_INLINE_WARNING_P (fn) && !DECL_IN_SYSTEM_HEAD