Hello.
May I please ask a native speaker for a correction of my wording?
Thanks,
Martin
---
htdocs/gcc-11/changes.html | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index 1a9e72c1..badc9e12 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -116,6 +116,28 @@ a work-in-progress.</p>
option (which defaults to 8 spaces per tab stop).
</p>
</li>
+ <li>New warning <a
href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wtsan"><code>-Wtsan</code></a>,
enabled by default,
+ warns about unsupported features in ThreadSanitizer
(<code>std::atomic_thread_fence</code>).</li>
+ <li>Series of if conditions, sharing a common index variable, can be
transformed into a switch statement if each
+ of them contains a comparison expession. Example:
+ <pre>
+ int IsHTMLWhitespace(int aChar) {
+ return aChar == 0x0009 || aChar == 0x000A ||
+ aChar == 0x000C || aChar == 0x000D ||
+ aChar == 0x0020;
+ }
+ </pre>
+ The statement is transformed into a GIMPLE switch statement that is
later effectively expanded as bit-test.
+ </li>
+ <li>
+ New command-line options:
+ <ul>
+ <li><a
href="https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-bit-tests"><code>-fbit-tests</code></a>,
enabled by default, can be used to enable or disable switch expansion using bit-tests.</li>
+ </ul>
+ </li>
+ <li>GCOV data file format can effectively store a group of counters that are all
zero.</li>
+ <li>Some <code>gcov</code> tool options are renamed:
<code>-i,--json-format</code> to
+ <code>-j,--json-format</code> and <code>-j,--human-readable</code> to
<code>-H,--human-readable</code>.</li>
</ul>
<!-- .................................................................. -->
@@ -149,6 +171,12 @@ a work-in-progress.</p>
<h3 id="c-family">C family</h3>
<ul>
+ <li>New attribute:
+ <ul>
+ <li>The <code>no_stack_protector</code> attribute has been added to
mark functions which should not be instrumented
+ with stack protection (<code>-fstack-protector</code>).</li>
+ </ul>
+ </li>
<li>New warnings:
<ul>
<li><code>-Wsizeof-array-div</code>, enabled by <code>-Wall</code>, warns
--
2.29.2