diff options
author | Marek Polacek <polacek@redhat.com> | 2018-06-07 19:15:45 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-06-07 19:15:45 +0000 |
commit | e4d44a372485acd8c0aca706221f1bfb880ce6f3 (patch) | |
tree | e03aea2a8b2f06496434aa1035a5b292b877c99a /gcc/tree-stdarg.c | |
parent | a3e87f07f3dc36bd42ed82853429d64a4b5b9703 (diff) | |
download | gcc-e4d44a372485acd8c0aca706221f1bfb880ce6f3.zip gcc-e4d44a372485acd8c0aca706221f1bfb880ce6f3.tar.gz gcc-e4d44a372485acd8c0aca706221f1bfb880ce6f3.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-stdarg.c')
0 files changed, 0 insertions, 0 deletions