From patchwork Mon Nov 14 23:00:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 60614 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 6E0F83854178 for ; Mon, 14 Nov 2022 23:00:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 793DA385840D for ; Mon, 14 Nov 2022 23:00:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 793DA385840D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,164,1665475200"; d="scan'208";a="86731865" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 14 Nov 2022 15:00:14 -0800 IronPort-SDR: vvb3Z6x2t9qoxKQ59sxI4C0L3X6nM4qKb9dfHn2MLukf+iyiyjg/4Fb5FBFW+EtbsxMTw40HIZ 7sZdX0Ol7f/rPeqnkyMm4gxXSj2Q4iZBpS9hsfUxxdBqRUpnZ2H6dBPMGgaZXJGr9Bk348F3PJ TFNxiA+4KFQ9assxDX/Cfn4SRMenQNpVMqDwZ/7iD5FeEoX5G2PMzPp1WuekTNKxVlrFA65XOz /4Y0UgmhrDFquaUGtsk6qr89209Fdi8rVOy9S5BiLFHBHcRny4a0AAhCQTSiaJlozecyn91+QF Xd0= Date: Mon, 14 Nov 2022 23:00:09 +0000 From: Joseph Myers To: Subject: [committed] wwwdocs: gcc-13: Add release notes for more C23 features Message-ID: <24a4e3af-b4ff-7213-1b26-756b1d72c674@codesourcery.com> MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3116.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 41d07e57..d033628b 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -112,9 +112,41 @@ a work-in-progress.

  • N3042, Introduce the nullptr constant
  • +
  • N2963, + Enhanced Enumerations (fixed underlying types)
  • +
  • N2975, + Relax requirements for variadic parameter lists
  • +
  • N3007, + Type inference for object definitions (auto)
  • +
  • N3018, + The constexpr specifier for object definitions
  • +
  • N3038, + Introduce storage-class specifiers for compound literals
  • +
  • typeof (previously supported as an extension) + and typeof_unqual
  • +
  • New + keywords alignas, alignof, bool, + false, static_assert, thread_local, + true
  • +
  • N2764, + The noreturn attribute
  • Support for empty initializer braces
  • +
  • __STDC_VERSION_*_H__ header version macros
  • +
  • Removal of ATOMIC_VAR_INIT
  • +
  • unreachable macro + in <stddef.h>
  • +
  • Removal of trigraphs
  • +
  • Removal of unprototyped functions
  • +
  • printf and scanf format checking + with -Wformat for %wN + and %wfN format length modifiers
  • +
  • N2836, + Identifier Syntax using Unicode Standard Annex 31
+
  • In addition to those C23 features, existing features adopted in + C23 have been adjusted to follow C23 requirements and are not diagnosed + with -std=c2x -Wpedantic.
  • New warnings:
    • -Wenum-int-mismatch warns about mismatches between an