From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2209) id 60A0B384A87E; Mon, 20 Apr 2020 22:05:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60A0B384A87E To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 7b4f92f0f5b11e412c91f563c2f7380830a4610c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e7e729ae2b8cc9861ce0351a8fd7e3095c20ff71 X-Git-Newrev: 7b4f92f0f5b11e412c91f563c2f7380830a4610c Message-Id: <20200420220523.60A0B384A87E@sourceware.org> Date: Mon, 20 Apr 2020 22:05:23 +0000 (GMT) From: David Malcolm 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: Mon, 20 Apr 2020 22:05:23 -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 7b4f92f0f5b11e412c91f563c2f7380830a4610c (commit) from e7e729ae2b8cc9861ce0351a8fd7e3095c20ff71 (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 7b4f92f0f5b11e412c91f563c2f7380830a4610c Author: David Malcolm Date: Thu Apr 16 19:07:43 2020 -0400 wwwdocs: document my changes for gcc 10 diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html index 65e2fb3d..fc8f16e7 100644 --- a/htdocs/gcc-10/changes.html +++ b/htdocs/gcc-10/changes.html @@ -98,6 +98,14 @@ a work-in-progress.

This makes it possible to rebuild program with same outcome which is useful, for example, for distribution packages. +
  • -fanalyzer + enables a new static analysis pass and associated warnings. + This pass performs a time-consuming exploration of paths through + the code in the hope of detecting various common errors, such as + double-free bugs. This option should be regarded as + experimental in this release. In particular, analysis of non-C + code is unlikely to work. +
  • @@ -860,7 +868,23 @@ typedef svbool_t pred512 __attribute__((arm_sve_vector_bits(512))); - +

    Improvements for plugin authors

    +
      +
    • + GCC diagnostics can now have a chain of events associated with them, + describing a path through the code that triggers the problem. + These can be printed by the diagnostics subsystem in various ways, + controlled by the + -fdiagnostics-path-format + option, or captured in JSON form via + -fdiagnostics-format=json.
    • +
    • + GCC diagnostics can now be associated with + CWE weakness identifiers, which + will appear on the standard error stream, and in the JSON output from + -fdiagnostics-format=json. +
    • +

    Other significant improvements

    @@ -873,9 +897,18 @@ typedef svbool_t pred512 __attribute__((arm_sve_vector_bits(512))); for overlapping memory moves, consistent with the library functions memcpy and memmove.
  • +
  • + For many releases, when GCC emits a warning it prints the option + controlling that warning. As of GCC 10, that option text is now a + clickable hyperlink for the documentation of that option (assuming a + sufficiently capable terminal). + This behavior can be controlled via a new + -fdiagnostics-urls + option (along with various environment variables and heuristics + documented with that option). +
  • - ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-10/changes.html | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) hooks/post-receive -- gcc-wwwdocs