patch-gcc_c_c-decl_c 431 B

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