]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/31673 ("`for' loop initial declaration used outside C99 mode" is confusing)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 27 Aug 2008 23:54:36 +0000 (23:54 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 27 Aug 2008 23:54:36 +0000 (23:54 +0000)
commite9527cfd9665e3cb0887682ccb0d17d040732799
treea771c38af9403eafeab5a23860be3f703a4512d1
parent4ccd12e5aae640a352129fd387657da8e4d0f95b
re PR c/31673 ("`for' loop initial declaration used outside C99 mode" is confusing)

2008-08-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c/31673
* c-decl.c (check_for_loop_decls): Improve error message. Give
hint.
testsuite/
* gcc.dg/c90-fordecl-1.c: Update.

From-SVN: r139681
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c90-fordecl-1.c