From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0DFCA3858418; Fri, 12 Jan 2024 03:18:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DFCA3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705029523; bh=WbVJFhWr/qNZYxwZXUVgnB9bV9OfeKctWM6koXyHemk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FXhXrQBD3TAaw7SQ3LBLxCxwyd3pCRygeLsZzMA7V6PG8Xq6h6Ke5szH34ms7vuyj pyi0fHeL18v9eqhxj8Ua/qSy1df94ihhXW3ayPuHnXmAEUxQLi6cVuNHtwSZEjEjVy 7rUzDO2qDy/lal914hx9vWD+0g8QaBOnA0zk9xP4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113039] [14 Regression] -fcf-protection -fcf-protection=branch doesn't work Date: Fri, 12 Jan 2024 03:18:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113039 --- Comment #4 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:75ed46558a2e085ba12641a47112e37f114faee0 commit r14-7164-g75ed46558a2e085ba12641a47112e37f114faee0 Author: liuhongt Date: Mon Jan 8 14:04:38 2024 +0800 Update documents for fcf-protection=3D After r14-2692-g1c6231c05bdcca, the option is defined as EnumSet and -fcf-protection=3Dbranch won't unset any others bits since they're in different groups. So to override -fcf-protection, an explicit -fcf-protection=3Dnone needs to be added and then with -fcf-protection=3DXXX gcc/ChangeLog: PR target/113039 * doc/invoke.texi (fcf-protection=3D): Update documents.=