From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 6C88D3858D1E for ; Fri, 12 Jan 2024 05:57:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C88D3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6C88D3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.68.5.143 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705039059; cv=none; b=GYQqz/gtre1nfNDDrbuaboJQQAImOrvzzeR1EAUuI2hKPSw2wUQysWuKiXZnO/vQwOONRURBkpt6irgLmno4YUdprrPpXw6s8B+DgqsY+ysNIVi7GN4TcYP9KyC6wjCmwWMjNI6MFuarkMvLFvVkx0X+g9RdPU2jMbPCauWxWrA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705039059; c=relaxed/simple; bh=WFEnjSbmoL6IiPJ4ud9HESANEqoePM2/9qPncBO8C6o=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=OWjtHKXD5/Rt0B00zoY+DTBiGT0meytR5Sz552iPi9RSPiS15pOkW9n+bkMnXnuVLqHUjRwgU07m1LLfFkFCs3u9BZQ/4WZPR9eg2tu0QwVQsn/NV7HjIYiuHFaxT2BFDznObFJ4HVVnMUh/VShrP0z32GsTHqAo4lK8Zsk+j9k= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id E1A1733E92; Fri, 12 Jan 2024 00:57:37 -0500 (EST) Received: from [172.20.11.2] (unknown [103.109.156.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 6E37533E9B; Fri, 12 Jan 2024 00:57:36 -0500 (EST) Date: Fri, 12 Jan 2024 13:57:31 +0800 (WITA) From: Gerald Pfeifer To: liuhongt cc: gcc-patches@gcc.gnu.org, hjl.tools@gmail.com Subject: Re: [PATCH] Document refactoring of the option -fcf-protection=x. In-Reply-To: <20240110074457.1749380-1-hongtao.liu@intel.com> Message-ID: References: <20240110074457.1749380-1-hongtao.liu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.11 on 209.68.5.143 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 10 Jan 2024, liuhongt wrote: > To override -fcf-protection, -fcf-protection=none needs to be added > and then with -fcf-protection=xxx. I'm afraid I am struggling with the English of this, but need more time to untangle and suggest an alternative. For the time being I pushed the follow-up below. Note that it's -fcf-protection not -fcf-protection i.e., closes . Gerald commit f834612fa014a65bd0a0380d2167d9ee05626a64 Author: Gerald Pfeifer Date: Fri Jan 12 13:54:52 2024 +0800 gcc-14: Fix markup around -fcf-protection diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index ba57abe8..9c9dfa44 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -41,9 +41,9 @@ a work-in-progress.

identify all such cases in the source code and modify them.
  • -fcf-protection=[full|branch|return|none|check] - is refactored, to override -fcf-protection, - -fcf-protection=none needs to be added and then - with -fcf-protection=xxx. + is refactored, to override -fcf-protection, + -fcf-protection=none needs to be added and then + with -fcf-protection=xxx.