]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/36774 (-Wmissing-prototypes triggers on nested functions)
authorShujing Zhao <pearly.zhao@oracle.com>
Mon, 12 Apr 2010 03:43:21 +0000 (03:43 +0000)
committerShujing Zhao <pzhao@gcc.gnu.org>
Mon, 12 Apr 2010 03:43:21 +0000 (03:43 +0000)
commitc4712597e1c5c51dc348628a52846026083c467d
treec9d1a94f68ad29d1a4a8f141264498a069c139af
parentfe5859f04b306556fcba138b4f30a6553378c23a
re PR c/36774 (-Wmissing-prototypes triggers on nested functions)

gcc/
2010-04-12  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c/36774
        * c-decl.c (start_function): Move forward check for nested function.

gcc/testsuite/
2010-04-12  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c/36774
        * gcc.dg/pr36774-1.c: New test.
        * gcc.dg/pr36774-2.c: New test.

From-SVN: r158214
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36774-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr36774-2.c [new file with mode: 0644]