From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 7ED913851C04; Wed, 23 Dec 2020 12:44:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7ED913851C04 To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 045b04486fbc6b88eed5e1d21b2c0a2d94649d63 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 05c170a452a9aecf36a719515a7e64f7999305e4 X-Git-Newrev: 045b04486fbc6b88eed5e1d21b2c0a2d94649d63 Message-Id: <20201223124425.7ED913851C04@sourceware.org> Date: Wed, 23 Dec 2020 12:44:25 +0000 (GMT) From: Martin Liska X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs-wwwdocs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 12:44:25 -0000 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.

C family

    +
  • New attribute: +
      +
    • The no_stack_protector attribute has been added to mark functions which should not be instrumented + with stack protection (-fstack-protector).
    • +
    +
  • New warnings:
    • -Wsizeof-array-div, enabled by -Wall, warns @@ -193,6 +199,28 @@ a work-in-progress.

      This functionality requires Binutils version 2.36 or later.

    • +
    • A new warning -Wtsan, enabled by default, + warns about unsupported features in ThreadSanitizer (currently std::atomic_thread_fence).
    • +
    • 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: +
      +        int IsHTMLWhitespace(int aChar) {
      +          return aChar == 0x0009 || aChar == 0x000A ||
      +                 aChar == 0x000C || aChar == 0x000D ||
      +                 aChar == 0x0020;
      +        }
      +       
      + This statement can be transformed into a switch statement and then expanded into a bit-test. +
    • +
    • + New command-line options: +
        +
      • -fbit-tests, enabled by default, can be used to enable or disable switch expansion using bit-tests.
      • +
      +
    • +
    • GCOV data file format outputs smaller files by representing zero counters in a more compact way.
    • +
    • Some short options of the gcov tool have been renamed: -i to -j + and -j to -H.

    C++

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