public inbox for
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 045b04486fbc6b88eed5e1d21b2c0a2d94649d63
@ 2020-12-23 12:44 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2020-12-23 12:44 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  045b04486fbc6b88eed5e1d21b2c0a2d94649d63 (commit)
      from  05c170a452a9aecf36a719515a7e64f7999305e4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 045b04486fbc6b88eed5e1d21b2c0a2d94649d63
Author: Martin Liska <>
Date:   Wed Dec 23 13:44:17 2020 +0100

    Document my changes.

diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index d04b377d..f457b7e7 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -168,6 +168,12 @@ a work-in-progress.</p>
 <h3 id="c-family">C family</h3>
+  <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:
       <li><code>-Wsizeof-array-div</code>, enabled by <code>-Wall</code>, warns
@@ -193,6 +199,28 @@ a work-in-progress.</p>
     This functionality requires Binutils version 2.36 or later.
+  <li>A new warning <a href=""><code>-Wtsan</code></a>, enabled by default,
+      warns about unsupported features in ThreadSanitizer (currently <code>std::atomic_thread_fence</code>).</li>
+  <li>A series of conditional expressions that compare the same variable can be transformed into a switch statement
+      if each of them contains a comparison expression.  Example:
+      <pre>
+        int IsHTMLWhitespace(int aChar) {
+          return aChar == 0x0009 || aChar == 0x000A ||
+                 aChar == 0x000C || aChar == 0x000D ||
+                 aChar == 0x0020;
+        }
+       </pre>
+       This statement can be transformed into a switch statement and then expanded into a bit-test.
+  </li>
+  <li>
+    New command-line options:
+    <ul>
+        <li><a href=""><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 outputs smaller files by representing zero counters in a more compact way.</li>
+  <li>Some short options of the <code>gcov</code> tool have been renamed: <code>-i</code> to <code>-j</code>
+      and <code>-j</code> to <code>-H</code>.</li>
 <h3 id="cxx">C++</h3>


Summary of changes:
 htdocs/gcc-11/changes.html | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-23 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 12:44 gcc-wwwdocs branch master updated. 045b04486fbc6b88eed5e1d21b2c0a2d94649d63 Martin Liska

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).