summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-02 17:33:25 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-02 17:33:25 +0000
commit02619052e76db7ede9d3151c6e3cbf47d6e389e3 (patch)
tree2b0687af1952de91d3b3f408b09402cfbbfa1bba /gcc/ChangeLog
parentc56b193617523d8338e4f3647a9cc28b60375be7 (diff)
downloadgcc-02619052e76db7ede9d3151c6e3cbf47d6e389e3.tar.gz
2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651 * c.opt (Wold-style-declaration): New. * doc/invoke.texi (C-only Warning Options): New. (Wold-style-declaration): Document it. (Wextra): Enabled by -Wextra. * c-opts.c (c_common_post_options): Enabled by -Wextra. * c-decl.c (declspecs_add_scspec): Replace -Wextra with -Wold-style-declaration. testsuite/ * gcc.dg/declspec-3.c: Replace -W with -Wold-style-declaration. * gcc.dg/declspec-3-Wextra.c: New. * gcc.dg/declspec-3-no.c: New git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b3103eefac..78b8ce8314c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ PR middle-end/7651
+ * c.opt (Wold-style-declaration): New.
+ * doc/invoke.texi (C-only Warning Options): New.
+ (Wold-style-declaration): Document it.
+ (Wextra): Enabled by -Wextra.
+ * c-opts.c (c_common_post_options): Enabled by -Wextra.
+ * c-decl.c (declspecs_add_scspec): Replace -Wextra with
+ -Wold-style-declaration.
+
2007-01-02 Kazu Hirata <kazu@codesourcery.com>
* alias.c (init_alias_analysis): Use VEC_safe_grow_cleared.