This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/61106] [4.8/4.9/4.10 Regression] impliedness of -Wunused-parameter depends on -W option ordering


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?)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]