re PR c/63877 (- -Wmissing-declarations produces false alarms for C99 inline functions)
authorMarek Polacek <polacek@redhat.com>
Tue, 25 Nov 2014 08:28:45 +0000 (08:28 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 25 Nov 2014 08:28:45 +0000 (08:28 +0000)
commitb286be940a8231b35ed111f6044b2bf7da471d07
treee1a569868b1d22b2f7d1fc6de2c5b6c7ef1e7b7e
parenta5b58b283d4f139da5cca26af936ddb65dd4ad7c
re PR c/63877 (- -Wmissing-declarations produces false alarms for C99 inline functions)

PR c/63877
* c-decl.c (start_function): Disable -Wmissing-declarations warning
for inline functions.

* gcc.dg/pr63877.c: New test.

From-SVN: r218039
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr63877.c [new file with mode: 0644]