This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/68090] New: VLA compound literal -- "confused by earlier errors, bailing out"
- From: "ch3root at openwall dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Oct 2015 18:41:44 +0000
- Subject: [Bug c/68090] New: VLA compound literal -- "confused by earlier errors, bailing out"
- Auto-submitted: auto-generated
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.