[Bug c/86134] earlier diagnostic causes followup diagnostic about unknown -Wno-* options

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 17 08:33:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86134

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Guenther <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:abe13e1847fb91d43f02b5579c4230214d4369f4

commit r10-6668-gabe13e1847fb91d43f02b5579c4230214d4369f4
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Feb 17 09:32:44 2020 +0100

    c/86134 avoid errors for unrecognized -Wno- options

    This makes sure to not promote diagnostics about unrecognized -Wno-
    options to errors and make the intent of the diagnostic clearer.

    2020-02-17  Richard Biener  <rguenther@suse.de>

        PR c/86134
        * opts-global.c (print_ignored_options): Use inform and
        amend message.

        * gcc.dg/pr86134.c: New testcase.
        * gcc.dg/pr28322-2.c: Adjust.


More information about the Gcc-bugs mailing list