https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90464
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>: https://gcc.gnu.org/g:5c3e2e134ba8e692f317f21aea10b70bfe14cfc1 commit r14-8318-g5c3e2e134ba8e692f317f21aea10b70bfe14cfc1 Author: Sandra Loosemore <san...@codesourcery.com> Date: Sun Jan 21 20:42:59 2024 +0000 Make the manual clearer about what options -Wunused enables [PR90464] gcc/ChangeLog PR c++/90464 * doc/invoke.texi (Warning Options): Document that -Wunused-parameter isn't enabled by -Wunused unless -Wextra is provided, and that -Wunused does enable -Wunused-const-variable=1 for C. Clarify that -Wunused doesn't enable -Wunused-* options documented as behaving otherwise, and list them explicitly.