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 <pola...@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 jos...@codesourcery.com