[Bug c++/71189] New: ICE with VLA with second dimension from a function call expression

jaak at ristioja dot ee gcc-bugzilla@gcc.gnu.org
Thu May 19 00:42:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71189

            Bug ID: 71189
           Summary: ICE with VLA with second dimension from a function
                    call expression
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jaak at ristioja dot ee
  Target Milestone: ---

Code:

    int f() { int f[0][f()] = {}; }

Both gcc and g++ versions 5.3.0 (in make_decl_rtl, at varasm.c:1313) 4.9.3 (in
make_decl_rtl, at varasm.c:1223) ICE on this. No ICE with 4.8.5.


More information about the Gcc-bugs mailing list