12345678910111213 |
- $OpenBSD: patch-gcc_c_c-decl_c,v 1.2 2015/07/19 21:22:49 pascal Exp $
- --- gcc/c/c-decl.c.orig Wed Jun 3 17:29:35 2015
- +++ gcc/c/c-decl.c Sat Jun 27 11:26:32 2015
- @@ -4922,6 +4922,8 @@ warn_variable_length_array (tree name, tree size)
- "variable length array is used");
- }
- }
- + if (warn_variable_decl)
- + warning (OPT_Wvariable_decl, "variable-sized array %qE", name);
- }
-
- /* Given declspecs and a declarator,
|