This is the mail archive of the gcc-bugs@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]

[Bug c++/71593] New: initializing array with mixed constant and variable size results in error


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]