[C PATCH] Fix initialization of flexible array members (PR c/56078)

Joseph S. Myers joseph@codesourcery.com
Thu Jan 24 16:50:00 GMT 2013

On Thu, 24 Jan 2013, Jakub Jelinek wrote:

> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
> ok for trunk?  The 20030305-1.c testcase is now rejected with hard
> errors instead of resulting just in warnings and ignored initializers,
> but I believe the error is right, initialization of nested flexible array
> member is what is happening in the testcase and is invalid.

OK.  I agree that test is invalid.

Joseph S. Myers

More information about the Gcc-patches mailing list