Re: C PATCH to enhance array bounds diagnostics (PR c/69262)

2016-01-14 Thread Jeff Law
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

C PATCH to enhance array bounds diagnostics (PR c/69262)

2016-01-14 Thread Marek Polacek
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