From patchwork Sat Nov 20 17:09:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 47968 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2AE343858415 for ; Sat, 20 Nov 2021 17:10:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AE343858415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637428228; bh=INA0gLj7lfFGCHQF8NUVcrgrooDZRLrVZ3AHWNkhTaY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=lckZNAXea+Tbc3eoS+W/Pb3Rcsyj7TMNwv84u2AclDENlSD/kFUhIhBm1BZiJQ/bT QIUoUvEmdwuPdHXx0MbOww8wyQ7iiPFrMMMcG/CXgtereuVcgr17f1nSXOOc9XVgzw DLxGUSGpfCqCszD1yHQ9JdGXxS0uMYw6m8ByFFrE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 513F0385840D for ; Sat, 20 Nov 2021 17:09:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 513F0385840D Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-379-AQuRNKf8M-iSuBAyeGem7Q-1; Sat, 20 Nov 2021 12:09:56 -0500 X-MC-Unique: AQuRNKf8M-iSuBAyeGem7Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C2A7218125C1 for ; Sat, 20 Nov 2021 17:09:55 +0000 (UTC) Received: from pdp-11.redhat.com (unknown [10.22.8.92]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C14D19D9D for ; Sat, 20 Nov 2021 17:09:55 +0000 (UTC) To: GCC Patches Subject: [wwwdocs] Document some new C++ features in GCC 12 Date: Sat, 20 Nov 2021 12:09:50 -0500 Message-Id: <20211120170950.22682-1-polacek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Marek Polacek via Gcc-patches From: Marek Polacek Reply-To: Marek Polacek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Pushed. --- htdocs/gcc-12/changes.html | 7 +++++++ 1 file changed, 7 insertions(+) base-commit: f3c71720ba8ec2a5b44f038d0dd649037bffadf4 diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 5f0214bd..43fc5bc0 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -166,6 +166,11 @@ a work-in-progress.

  • Several C++23 features have been implemented:
    • P1938R3, if consteval
    • +
    • P0849R8, auto(x): decay-copy in the language
    • +
    • P2242R3, Non-literal variables (and labels and gotos) in constexpr functions
    • +
    • P2334R1, Support for preprocessing directives elifdef and + elifndef
    • +
    • P2360R0, Extend init-statement to allow alias-declaration
    • DR 2397, auto specifier for pointers and references to arrays
  • @@ -175,6 +180,8 @@ a work-in-progress.

  • DR 2397, auto specifier for pointers and references to arrays
  • +
  • -Wuninitialized warns about using uninitialized variables in + member initializer lists
  • Runtime Library (libstdc++)