From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 4733B3858C5F; Thu, 11 May 2023 12:53:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4733B3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683809633; bh=+KzFdoObof4jR9uqDnHo4RzoiVKLRfQ1axch8Pz1GbI=; h=To:Subject:Date:From:From; b=JUWEbvMNPWB4+A4dUiT+voxQ8gvh6ozEe62GymS4OUdk6jZFEB3fzul7PWTLMk/gt 0MUu0ze9Y36kVyPMESF/um3uJXznc7QVB5aibo2dxzG3DvIFSzZZ5yUU1vwsNxqDAs kXfBq/9AXrpohRq5WPC5JIsInQ3DlGaz3K8CUXag= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. d1abca5195cfd15aad393ae35fe899f53a86ebb2 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e0bfd617507326a26b301eeee207ca3a16c91ae5 X-Git-Newrev: d1abca5195cfd15aad393ae35fe899f53a86ebb2 Message-Id: <20230511125353.4733B3858C5F@sourceware.org> Date: Thu, 11 May 2023 12:53:53 +0000 (GMT) From: Jonathan Wakely List-Id: 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 d1abca5195cfd15aad393ae35fe899f53a86ebb2 (commit) via a09e584729c3136719d8870ad0c26870de8a552f (commit) from e0bfd617507326a26b301eeee207ca3a16c91ae5 (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 d1abca5195cfd15aad393ae35fe899f53a86ebb2 Author: Jonathan Wakely Date: Fri Apr 28 13:47:12 2023 +0100 Add caveat about C++ iostream init changes (PR108969) Co-authored-by: Andrew Pinski diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 3d4870bd..bd022ed2 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -56,6 +56,18 @@ You may also want to check out our iWMMXt built-in functions. +
  • For C++, construction of the global iostream objects + std::cout, std::cin, etc. is now done + inside the standard library, instead of in every source file that + includes the <iostream> header. This change + improves the start-up performance of C++ programs, but it means that + code compiled with GCC 13.1 will crash if the correct version of + libstdc++.so is not used at runtime. See the + documentation + about using the right libstdc++.so at runtime. + Future GCC releases will mitigate the problem so that the program + cannot be run at all with an older libstdc++.so. +
  • commit a09e584729c3136719d8870ad0c26870de8a552f Author: Jonathan Wakely Date: Wed Mar 22 10:36:37 2023 +0000 Clarify experimental status of C++17 prior to GCC 9 Also link to library docs for C++20 and add a cxx2a anchor which is used by some old links. diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html index b5362bba..7f59e5a2 100644 --- a/htdocs/projects/cxx-status.html +++ b/htdocs/projects/cxx-status.html @@ -402,10 +402,12 @@ --> -

    C++20 Support in GCC

    +

    C++20 Support in GCC

    GCC has experimental support for the latest revision of the C++ - standard, which was published in 2020.

    + standard, which was published in 2020. + The status of C++20 library features is described in +
    the library documentation.

    C++20 features are available since GCC 8. To enable C++20 support, add the command-line parameter -std=c++20 @@ -988,14 +990,16 @@

    GCC has almost full support for the previous revision of the C++ standard, which was published in 2017. - Some library features are missing or incomplete, as described in + The status of C++17 library features is described in the library documentation.

    -

    C++17 features are available since GCC 5. This mode is the default - in GCC 11; it can be explicitly selected with the -std=c++17 - command-line flag, or -std=gnu++17 to enable GNU extensions - as well.

    +

    C++17 mode is the default since GCC 11; it can be explicitly selected + with the -std=c++17 command-line flag, or + -std=gnu++17 to enable GNU extensions as well. + Some C++17 features are available since GCC 5, but support was experimental + and the ABI of C++17 features was not stable until GCC 9. +

    C++17 Language Features

    @@ -1315,7 +1319,7 @@

    GCC has full support for the of the 2014 C++ standard.

    -

    This mode is the default in GCC 6.1 up until GCC 10 (including); it can +

    This mode is the default in GCC 6.1 up until GCC 10 (inclusive); it can be explicitly selected with the -std=c++14 command-line flag, or -std=gnu++14 to enable GNU extensions as well.

    ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/changes.html | 12 ++++++++++++ htdocs/projects/cxx-status.html | 20 ++++++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) hooks/post-receive -- gcc-wwwdocs