https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646
Andrey Vihrov <andrey.vihrov at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.vihrov at gmail dot com --- Comment #8 from Andrey Vihrov <andrey.vihrov at gmail dot com> --- Still happening with g++ (GCC) 8.1.1 20180531. The first sample from description gives x.cpp: In function 'void foo(int)': x.cpp:3:7: internal compiler error: in make_decl_rtl, at varasm.c:1322 int a[2][n] = {}; ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions.