From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1930) id AD1963858D29; Wed, 10 Feb 2021 00:45:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD1963858D29 To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 5a57e261bcfbb7691901bdf219ba114b449b690e X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: cf0d4e41a94bae204a8c5d2490063d58cdb1d4e3 X-Git-Newrev: 5a57e261bcfbb7691901bdf219ba114b449b690e Message-Id: <20210210004524.AD1963858D29@sourceware.org> Date: Wed, 10 Feb 2021 00:45:24 +0000 (GMT) From: Martin Sebor 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, 10 Feb 2021 00:45:24 -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 5a57e261bcfbb7691901bdf219ba114b449b690e (commit) from cf0d4e41a94bae204a8c5d2490063d58cdb1d4e3 (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 5a57e261bcfbb7691901bdf219ba114b449b690e Author: Martin Sebor Date: Tue Feb 9 17:40:01 2021 -0700 Move -Wtsan under New Warnings. Add more links to the user manual. diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index 80d39b73..de75b8d6 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -174,7 +174,8 @@ a work-in-progress.

  • New attributes:
      -
    • The no_stack_protector attribute has been added to mark functions which should not be instrumented +
    • The no_stack_protector + attribute has been added to mark functions which should not be instrumented with stack protection (-fstack-protector).
    • The existing malloc @@ -205,6 +206,10 @@ a work-in-progress.

      GCC releases most instances of his warning are diagnosed by -Wstringop-overflow.
    • +
    • -Wtsan, + enabled by default, warns about unsupported features in ThreadSanitizer + (currently std::atomic_thread_fence). +
  • Enhancements to existing warnings: @@ -238,8 +243,6 @@ 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:
    @@ -376,19 +379,23 @@ a work-in-progress.

    (PR97518).
  • New warnings:
      -
    • -Wctad-maybe-unsupported, disabled by default, warns +
    • -Wctad-maybe-unsupported, + disabled by default, warns about performing class template argument deduction on a type with no deduction guides.
    • -
    • -Wrange-loop-construct, enabled by -Wall, +
    • -Wrange-loop-construct, + enabled by -Wall, warns when a range-based for-loop is creating unnecessary and expensive copies.
    • -
    • -Wdeprecated-enum-enum-conversion, enabled by default in +
    • -Wdeprecated-enum-enum-conversion, + enabled by default in C++20, warns about deprecated arithmetic conversions on operands of enumeration types, as outlined in [depr.arith.conv.enum].
    • -
    • -Wdeprecated-enum-float-conversion, enabled by default in +
    • -Wdeprecated-enum-float-conversion, + enabled by default in C++20, warns about deprecated arithmetic conversions on operands where one is of enumeration type and the other is of a floating-point type, as outlined in [depr.arith.conv.enum]. @@ -399,7 +406,8 @@ a work-in-progress.

      forms of operator new or from other mismatched allocation functions.
    • -
    • -Wvexing-parse, enabled by default, warns about the most +
    • -Wvexing-parse, + enabled by default, warns about the most vexing parse rule: the cases when a declaration looks like a variable definition, but the C++ language requires it to be interpreted as a function declaration. ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-11/changes.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) hooks/post-receive -- gcc-wwwdocs