[Bug driver/61106] [4.8/4.9/4.10 Regression] impliedness of -Wunused-parameter depends on -W option ordering
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 8 12:54:00 GMT 2014
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?)
More information about the Gcc-bugs
mailing list