This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71593] New: initializing array with mixed constant and variable size results in error
- From: "editing101 at aol dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jun 2016 14:11:31 +0000
- Subject: [Bug c++/71593] New: initializing array with mixed constant and variable size results in error
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71593
Bug ID: 71593
Summary: initializing array with mixed constant and variable
size results in error
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: editing101 at aol dot com
Target Milestone: ---
int length=5;
float test[5][len]={};
gives internal compiler error: in make_decl_rtl, at varasm.c:1313