This is the mail archive of the gcc-bugs@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]

[Bug c/36774] -Wmissing-prototypes triggers on nested functions



------- Comment #6 from pzhao at gcc dot gnu dot org  2010-04-12 03:43 -------
Subject: Bug 36774

Author: pzhao
Date: Mon Apr 12 03:43:21 2010
New Revision: 158214

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158214
Log:
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.


Added:
    trunk/gcc/testsuite/gcc.dg/pr36774-1.c
    trunk/gcc/testsuite/gcc.dg/pr36774-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36774


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