aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-01-24 11:51:49 +0100
committerJakub Jelinek <jakub@redhat.com>2022-01-24 11:51:49 +0100
commitcd0377a460db9d8b286e03a701227ebd62132c89 (patch)
tree7ea0b94866d513e5044b72655309e789dd9ffde2 /libcpp
parent385196adb52d854ebf4f9237e8a521a17c5524c5 (diff)
downloadgcc-cd0377a460db9d8b286e03a701227ebd62132c89.zip
gcc-cd0377a460db9d8b286e03a701227ebd62132c89.tar.gz
gcc-cd0377a460db9d8b286e03a701227ebd62132c89.tar.bz2
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 <jakub@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.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions