https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103918
Bug ID: 103918 Summary: ICE in make_decl_rtl, at varasm.c:1422 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: juki at gcc dot mail.kapsi.fi Target Milestone: --- $ g++ --version: g++ (Gentoo 11.2.0 p1) 11.2.0 Test case: int main() { int value = 2; int localArray[2][value] = {}; return 0; } $ g++ -O0 main.cpp during RTL pass: expand main.cpp: In function ‘int main()’: main.cpp:4:13: internal compiler error: in make_decl_rtl, at varasm.c:1422 4 | int localArray[2][value] = {}; | ^~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions.