re PR c/85318 (-Wc90-c99-compat does not warn about for loop initial declarations)
PR c/85318 * c-decl.c (check_for_loop_decls): Add -Wc90-c99-compat warning about for loop initial declarations. * gcc.dg/Wc90-c99-compat-10.c: New test. * gcc.dg/Wc90-c99-compat-11.c: New test. * gcc.dg/Wc90-c99-compat-12.c: New test. * gcc.dg/Wc90-c99-compat-9.c: New test. From-SVN: r261293
Showing
gcc/testsuite/gcc.dg/Wc90-c99-compat-10.c
0 → 100644
gcc/testsuite/gcc.dg/Wc90-c99-compat-11.c
0 → 100644
gcc/testsuite/gcc.dg/Wc90-c99-compat-12.c
0 → 100644
gcc/testsuite/gcc.dg/Wc90-c99-compat-9.c
0 → 100644
Please
register
or
sign in
to comment