From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B1823858D3C; Mon, 24 Jan 2022 10:53:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B1823858D3C From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/104158] [12 Regression] gcc no longer accepts -fsanitize-coverage=trace-pc,trace-cmp since r12-1177 Date: Mon, 24 Jan 2022 10:53:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 10:53:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104158 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cd0377a460db9d8b286e03a701227ebd62132c89 commit r12-6840-gcd0377a460db9d8b286e03a701227ebd62132c89 Author: Jakub Jelinek Date: Mon Jan 24 11:51:49 2022 +0100 options: Fix up -fsanitize-coverage=3D [PR104158] This is incremental patch to fix up -fsanitize-coverage=3D option handling, allow -fno-sanitize-coverage=3D again, allow both options together in one option or make -fsanitize-coverage=3Dtrace-pc -fsanitize-coverage=3Dtrace-cmp actually enable both suboptions rather than the last one. 2022-01-24 Jakub Jelinek PR sanitizer/104158 * common.opt (flag_sanitize_coverage): Remove Variable entry. (fsanitize-coverage=3D): 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.=