public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Document refactoring of the option -fcf-protection=x.
@ 2024-01-10  7:44 liuhongt
  2024-01-12  5:57 ` Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: liuhongt @ 2024-01-10  7:44 UTC (permalink / raw)
  To: gcc-patches; +Cc: gerald, hjl.tools

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.</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>
 
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Document refactoring of the option -fcf-protection=x.
  2024-01-10  7:44 [PATCH] Document refactoring of the option -fcf-protection=x liuhongt
@ 2024-01-12  5:57 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2024-01-12  5:57 UTC (permalink / raw)
  To: liuhongt; +Cc: gcc-patches, hjl.tools

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-12  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10  7:44 [PATCH] Document refactoring of the option -fcf-protection=x liuhongt
2024-01-12  5:57 ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).