From cb4af25a807a42bcc9ddb200dc65b51fb74986e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Sat, 23 Dec 2006 17:45:33 +0000 Subject: re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags) 2006-12-23 Manuel Lopez-Ibanez PR middle-end/7651 * c.opt (Wmissing-parameter-type): New. * doc/invoke.texi (Wmissing-parameter-type): Document it. (Wextra): Enabled by -Wextra. * c-opts.c (c_common_post_options): Enabled by -Wextra. * c-decl.c (store_parm_decls_oldstyle): Replace Wextra with Wmissing-parameter-type. testsuite/ * gcc.dg/Wmissing-parameter-type.c: New. * gcc.dg/Wmissing-parameter-type-Wextra.c: New. * gcc.dg/Wmissing-parameter-type-no.c: New. From-SVN: r120173 --- gcc/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/ChangeLog') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91255aa..09056a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2006-12-23 Manuel Lopez-Ibanez + + PR middle-end/7651 + * c.opt (Wmissing-parameter-type): New. + * doc/invoke.texi (Wmissing-parameter-type): Document it. + (Wextra): Enabled by -Wextra. + * c-opts.c (c_common_post_options): Enabled by -Wextra. + * c-decl.c (store_parm_decls_oldstyle): Replace Wextra with + Wmissing-parameter-type. + 2006-12-23 Eric Botcazou * dwarf2out.c (dbx_reg_number): Do leaf register remapping -- cgit v1.1