From patchwork Wed Jan 10 07:44:57 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: liuhongt
X-Patchwork-Id: 83729
Return-Path:
X-Original-To: patchwork@sourceware.org
Delivered-To: patchwork@sourceware.org
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 7251038582AE
for ; Wed, 10 Jan 2024 07:45:36 +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 ; 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
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
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
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org
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(+)
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.
-Wflex-array-member-not-at-end
to
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.
+
+