[Bug tree-optimization/86988] [7 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5563

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 26 08:29:00 GMT 2018


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
On the GCC 7 branch I instead see

vla19.C:11:40: internal compiler error: in process_init_constructor_array, at
cp/typeck2.c:1311
   char b[1][a.r] = { { "12345678901" } };
                                        ^
0x8d12e0 process_init_constructor_array
        /space/rguenther/src/svn/gcc-7-branch/gcc/cp/typeck2.c:1310
0x8d2609 process_init_constructor
        /space/rguenther/src/svn/gcc-7-branch/gcc/cp/typeck2.c:1626
0x8d06a3 digest_init_r
        /space/rguenther/src/svn/gcc-7-branch/gcc/cp/typeck2.c:1138
0x8d08bf digest_init_flags(tree_node*, tree_node*, int, int)
        /space/rguenther/src/svn/gcc-7-branch/gcc/cp/typeck2.c:1183
0x8cebcc store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)

See PR88198.


More information about the Gcc-bugs mailing list