This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/61106] [4.8/4.9/4.10 Regression] impliedness of -Wunused-parameter depends on -W option ordering
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 May 2014 12:54:18 +0000
- Subject: [Bug driver/61106] [4.8/4.9/4.10 Regression] impliedness of -Wunused-parameter depends on -W option ordering
- Auto-submitted: auto-generated
- References: <bug-61106-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61106
--- Comment #6 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Matthias Klose from comment #5)
> this works and fixes the issue. running the full testsuite now.
It would be nice to add this testcase ("-Wall -Wextra -Wno-unused" should not
give -Wunused-parameter warning). Perhaps if you grep for "unused parameter" in
the testsuite output, you can find a testcase testing something similar already
and add it there.
(It would be great if it was possible to say:
/* { dg-options "-Wall -Wno-unused -Wextra" } */
/* { dg-options "-Wall -Wextra -Wno-unused" } */
and the testsuite would compile one time for each value of dg-options. Is this
possible?)