c-parse.in
97.1 KB
-
re PR c/16409 (ICE in size_binop, at fold-const.c) · ef787822
PR c/16409 * c-decl.c (start_decl): Check for initializing incomplete array of VLAs. (build_compound_literal): Check for TYPE being error_mark_node. * c-parse.in (primary): Check for VLA compound literals. testsuite: * gcc.dg/vla-init-2.c, gcc.dg/vla-init-3.c, gcc.dg/vla-init-4.c, gcc.dg/vla-init-5.c: New tests. From-SVN: r88248
Joseph Myers committed