Bug 71593 - initializing array with mixed constant and variable size results in error
Summary: initializing array with mixed constant and variable size results in error
Status: RESOLVED DUPLICATE of bug 58646
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: unknown
: P3 trivial
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: C++VLA
  Show dependency tree / graph
 
Reported: 2016-06-20 14:11 UTC by Brandon Lundeen
Modified: 2016-06-20 16:59 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2016-06-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Lundeen 2016-06-20 14:11:31 UTC
int length=5;
float test[5][len]={};
gives internal compiler error: in make_decl_rtl, at varasm.c:1313
Comment 1 Martin Sebor 2016-06-20 16:59:36 UTC
Bug 58646 tracks this problem.

*** This bug has been marked as a duplicate of bug 58646 ***