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/69262] Request for better array bounds warning


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69262

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Jan 14 17:46:25 2016
New Revision: 232376

URL: https://gcc.gnu.org/viewcvs?rev=232376&root=gcc&view=rev
Log:
        PR c/69262
        * c-decl.c (grokdeclarator): Provide more information for invalid
        array declarations.

        * gcc.dg/array-15.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/array-15.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog

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