This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31673] "`for' loop initial declaration used outside C99 mode" is confusing
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2008 23:56:01 -0000
- Subject: [Bug c/31673] "`for' loop initial declaration used outside C99 mode" is confusing
- References: <bug-31673-11199@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from manu at gcc dot gnu dot org 2008-08-27 23:55 -------
Subject: Bug 31673
Author: manu
Date: Wed Aug 27 23:54:36 2008
New Revision: 139681
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139681
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/c90-fordecl-1.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31673