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: [C PATCH] Fix PR63877


On Mon, 24 Nov 2014, Marek Polacek wrote:

> This PR is basically the same as PR54113, except this time it's about
> -Wmissing-declarations and not about -Wmissing-prototypes.  The problem
> here is that we were emitting bogus warning for a correct use of an
> inline function.  Thus fixed in the same way as PR54113, that is, don't
> warn for inline functions.
> 
> Bootstrapped/regtested on ppc64-linux, ok for trunk?
> 
> 2014-11-24  Marek Polacek  <polacek@redhat.com>
> 
> 	PR c/63877
> 	* c-decl.c (start_function): Disable -Wmissing-declarations warning
> 	for inline functions.
> 
> 	* gcc.dg/pr63877.c: New test.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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