https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68090
Bug ID: 68090
Summary: VLA compound literal -- "confused by earlier errors,
bailing out"
Product: gcc
Version: 5.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ch3root at openwall dot com
Target Milestone: ---
Compiling the following program:
int main() { (int [(0,1)]){0}; }
produce this:
compound-vla.c: In function ‘main’:
compound-vla.c:1:14: error: compound literal has variable size
int main() { (int [(0,1)]){0}; }
^
compound-vla.c:1: confused by earlier errors, bailing out
The error message is fine but it should not "confuse" the compiler.