This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52050] Want an option to warn about a declaration inside a for/while/if statements.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 09:23:45 +0000
- Subject: [Bug c/52050] Want an option to warn about a declaration inside a for/while/if statements.
- Auto-submitted: auto-generated
- References: <bug-52050-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52050
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-30 09:23:45 UTC ---
I agree that a separate warning option should be used here.