This is the mail archive of the gcc-patches@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] |
We first saw it on a Ada testcase then found a C counterpart exhibiting the same behavior. Compiling the code below ...
void foo () { struct sequence; struct sequence * ptr;
int size = 2; struct sequence { int values [size]; };
fwiw, this is not standard-conforming C99; 6.7.5.2p2 says that members cannot have VLA types.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |