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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

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

commit r12-6840-gcd0377a460db9d8b286e03a701227ebd62132c89
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Jan 24 11:51:49 2022 +0100

    options: Fix up -fsanitize-coverage= [PR104158]

    This is incremental patch to fix up -fsanitize-coverage= option
    handling, allow -fno-sanitize-coverage= again, allow both
    options together in one option or make
    -fsanitize-coverage=trace-pc -fsanitize-coverage=trace-cmp
    actually enable both suboptions rather than the last one.

    2022-01-24  Jakub Jelinek  <ja...@redhat.com>

            PR sanitizer/104158
            * common.opt (flag_sanitize_coverage): Remove Variable entry.
            (fsanitize-coverage=): Remove RejectNegative property, add
            Var(flag_sanitize_coverage) and EnumSet properties.
            (trace-pc): Add Set(1) property.
            (trace-cmp): Add Set(2) property.
            * opts.cc (common_handle_option): Don't handle
            OPT_fsanitize_coverage_.

            * gcc.dg/spellcheck-options-24.c: New test.
            * gcc.dg/sancov/pr104158-1.c: New test.
            * gcc.dg/sancov/pr104158-2.c: New test.
            * gcc.dg/sancov/pr104158-3.c: New test.
            * gcc.dg/sancov/pr104158-4.c: New test.
            * gcc.dg/sancov/pr104158-5.c: New test.
            * gcc.dg/sancov/pr104158-6.c: New test.
            * gcc.dg/sancov/pr104158-7.c: New test.

Reply via email to