PR c/31673 "`for' loop initial declaration used outside C99 mode" is confusing

Joseph S. Myers joseph@codesourcery.com
Thu Aug 28 23:54:00 GMT 2008


On Wed, 27 Aug 2008, Manuel López-Ibáñez wrote:

> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
> --enable-languages=all,ada
> 
> OK for trunk?
> 
> 2008-08-26  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.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Gcc-patches mailing list