On 01/14/2016 03:29 AM, Marek Polacek wrote:
This PR is a request for better array bounds diagnostics.  The C++ FE says
"multidimensional array must have bounds for all dimensions except the first",
and we can do something similar in the C FE.

Bootstrapped/regtested on x86_64-linux, ok for trunk?

2016-01-14  Marek Polacek  <pola...@redhat.com>

        PR c/69262
        * c-decl.c (grokdeclarator): Provide more information for invalid
        array declarations.

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

Reply via email to