Message ID | 20240110074457.1749380-1-hongtao.liu@intel.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp637207dyi; Tue, 9 Jan 2024 23:45:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaOsl2foeku3ipn17ByPHfg+44zCfFNzvgQf3d20osfgFg4w0d3rYRkDl2e/PCLYf9q4I2 X-Received: by 2002:ac8:5754:0:b0:429:bae2:47af with SMTP id 20-20020ac85754000000b00429bae247afmr62002qtx.34.1704872751991; Tue, 09 Jan 2024 23:45:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704872751; cv=pass; d=google.com; s=arc-20160816; b=IkLojHLym2EA2P9lROG6pxG/eHzKJeChhhs5mn/fG1Cb2HFdCQVZVMM4+ODGz1jhJs GClzGUCxy9SbXaHPPUX1OH/Tn92afRITiAA4sHvdjULQW1pH0RywvGaelznDHpi3fYOx ahMIXOwtMd4DXE8OcxCqZhyd7eRFcX0apkWZc/qGBhLaa9PPHTrUaxVu/uZEkbpO1Cig ceX/dyvBs8lXCCJZwnlCGJRkv8GHjcMXt2PbH9xc8602O41Um8PBRQhgh5OPeT4cXNLx jhIB9IGK4gO7cfCynJ1IYHbKzp4Sqh+aRrDSY3TugotIwrSphJf1ZdQ+Yk/6me7gv6co s2Wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=hMDgkT7MayTFivuzfTe20UG4gX56VWXtvKvex+sJm3c=; fh=enTWjT2Cin8YMKiHvMsvvxeAkfKrngwAqeJyOpQnqCM=; b=r9LBO53KpsHnqz77nZ+t4v7xl7l84Hr4rzQbSd0cHIgHQEWw2LuYxhgPQexKOb8AQX 4kKUM66+ZwOoKg9E9WrY0n4ygjPmdaNzEMq/7OqQsWg/NtVSEglJ7NaU81RE/AUOC2Lo eTi4c7pApAuV1ayU8o5ihDHo4sOsafRFHVlA2KQeuN6GaWGoVEO46WrKY66ffldnLqqn q6kG3a7WOJ0NN8Uj6ykv8MfGoUYYWKaWnEgKwNOeR0bYZ3xADS+fI+FwhSC/2vslp+cX c6MyYsgow6cMOsgPeKawCyaxn2mYYR8tmCMssZiNlfEKUMPXL/clfIZLorR+gcwXIOxi wUBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jYKPuv7h; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id f12-20020ac859cc000000b004254f1ddb34si3686275qtf.52.2024.01.09.23.45.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 23:45:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jYKPuv7h; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AC05838582A2 for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 07:45:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by sourceware.org (Postfix) with ESMTPS id 65A2E3858C74 for <gcc-patches@gcc.gnu.org>; Wed, 10 Jan 2024 07:45:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 65A2E3858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 65A2E3858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704872704; cv=none; b=WNa/emNHrx2MhJmrZBZmrAznMojxsUj2+dZRQq3TL4kRJMsZvSKNARjBVnAqB3A3u3pqf6j7lkh/6BGjFXy6emOGkiT93kVnW5YzPEQ94pOudbp/ggvYbiZTUDaqa15/UcWvtlLtQxzjGvAIYvrnEucCQi9EIj9X/rghqAQ34zE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704872704; c=relaxed/simple; bh=lsWAgOXcygVEV7yGkd0Ep1/AGQOCT6UO2xdwb9ZJoRs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=aO1xavpjXCjN9wUsZ1RzRUwR3n2VzSdFTi/uBGvZIgfSPi+vhKBNBXfANViKi5EfXhIsjyOQBxlDc9cJt1EvZmD6KQovvD8qO9QpYlS10uxxjAE9ruFKVE6dUt2J4ENihZr0aPnzWF8RwRwqVTHDTqFO1dmWyf2lHOU4YcVqVL8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704872701; x=1736408701; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lsWAgOXcygVEV7yGkd0Ep1/AGQOCT6UO2xdwb9ZJoRs=; b=jYKPuv7hOnGSBpwJbzOIeO7jVQs+xqDawfL/VaSErE1OUAuHyfSYuR6p nPAndzttZ3VchQP3YlH3ZivqHO8gg3aHOsOxM1xHcYm9c/minEk+a3XF1 5+JoeVtlu/BGurs0gDwe7mwB4J1v8pbqC6HfOQzY7DzR0EWlpYhEF3+8v 7mm72vurukWyCKGxpZ414IZvlvapPjRs48D2C3v/cIIn1znodjlsTqiEM 7MmMmhtqvUJP/hoXFEqUlaAWth/jstRc3C/lcDVOnmxO88I0MEHK0yKz2 jbbZz+3Ni6BKPsCqtnmmXTH8uV7ThkCRjWWEmVaVzFJKe60jpV6ikWGjN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="5524042" X-IronPort-AV: E=Sophos;i="6.04,184,1695711600"; d="scan'208";a="5524042" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2024 23:45:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="816259913" X-IronPort-AV: E=Sophos;i="6.04,184,1695711600"; d="scan'208";a="816259913" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga001.jf.intel.com with ESMTP; 09 Jan 2024 23:44:58 -0800 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 06D7010056EF; Wed, 10 Jan 2024 15:44:58 +0800 (CST) From: liuhongt <hongtao.liu@intel.com> To: gcc-patches@gcc.gnu.org Cc: gerald@pfeifer.com, hjl.tools@gmail.com Subject: [PATCH] Document refactoring of the option -fcf-protection=x. Date: Wed, 10 Jan 2024 15:44:57 +0800 Message-Id: <20240110074457.1749380-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787688650662949006 X-GMAIL-MSGID: 1787688650662949006 |
Series |
Document refactoring of the option -fcf-protection=x.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
liuhongt
Jan. 10, 2024, 7:44 a.m. UTC
To override -fcf-protection, -fcf-protection=none needs to be added and then with -fcf-protection=xxx. --- htdocs/gcc-14/changes.html | 6 ++++++ 1 file changed, 6 insertions(+)
Comments
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 <code>-fcf-protection</code> not <code>-fcf-protection</code> i.e., </code> closes <code>. Gerald commit f834612fa014a65bd0a0380d2167d9ee05626a64 Author: Gerald Pfeifer <gerald@pfeifer.com> 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.</p> identify all such cases in the source code and modify them. </li> <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html"><code>-fcf-protection=[full|branch|return|none|check]</code></a> - is refactored, to override <code>-fcf-protection<code>, - <code>-fcf-protection=none<code> needs to be added and then - with <code>-fcf-protection=xxx<code>. + is refactored, to override <code>-fcf-protection</code>, + <code>-fcf-protection=none</code> needs to be added and then + with <code>-fcf-protection=xxx</code>. </li> </ul>
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index e3a68998..72b0d291 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -40,6 +40,12 @@ a work-in-progress.</p> <a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wflex-array-member-not-at-end"><code>-Wflex-array-member-not-at-end</code></a> to identify all such cases in the source code and modify them. </li> + <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html"><code>-fcf-protection=[full|branch|return|none|check]</code></a> + is refactored, to override <code>-fcf-protection<code>, + <code>-fcf-protection=none<code> needs to be added and then + with <code>-fcf-protection=xxx<code>. + </li> + </ul>