From patchwork Thu Mar 2 11:46:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 65901 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 0FC543858C54 for ; Thu, 2 Mar 2023 11:47:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FC543858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677757642; bh=SYoaLtfxX1wCkMogqkPnz/lh4+9U4ngJ2OVhSWCUZW4=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=dkGFHtcYZSSafP2wdaa+bUnvCxvgyEU2cKt2wCJpnR3o8fj/DIjylEXGkydyJ2Gfv 8wMQNySwjQBg2heVg7hLMJaSR0afQcR/oZRIITW/Q15Nv3N80yQP8fSargt0aCLsTy BoHYaEH8SQo1lPN5ykvrJcD+5nBQexIg2iIl0h1Y= 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 3148D3858D33 for ; Thu, 2 Mar 2023 11:46:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3148D3858D33 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-611-l6Mq9x05McecEGXhnMs8dA-1; Thu, 02 Mar 2023 06:46:48 -0500 X-MC-Unique: l6Mq9x05McecEGXhnMs8dA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A4A641C426A9; Thu, 2 Mar 2023 11:46:47 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4767740C6EC4; Thu, 2 Mar 2023 11:46:47 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 322Bki1O3825203 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 2 Mar 2023 12:46:44 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 322Bkgls3825202; Thu, 2 Mar 2023 12:46:42 +0100 Date: Thu, 2 Mar 2023 12:46:42 +0100 To: Gerald Pfeifer , Marek Polacek , Tobias Burnus Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] wwwdocs: Document several further C++23 changes Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Hi! Tobias mentioned on IRC that assume attribute wasn't mentioned in changes.html. The P1774R8 entry was missing for C++, so I went through projects/cxx-status.html#cxx23 and filled in all the missing papers which have been implemented newly in GCC 13, plus a small note for C family about assume attribute. Ok for wwwdocs? Jakub diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 410594ae..839b73d0 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -182,6 +182,10 @@ a work-in-progress.

-fanalyzer to detect misuses of file descriptors. +
  • A new statement attribute for C++23 P1774R8 Portable + assumptions support also in C or older C++: + __attribute__((assume(EXPR))); +
  • C

    @@ -290,6 +294,29 @@ a work-in-progress.

    Operator You Are Looking For (
    PR106644) +
  • P2362R3, Remove non-encodable + wide character literals and multicharacter wide character literals + (PR106647) +
  • +
  • P2448R2, Relaxing some + constexpr restrictions + (PR106649) +
  • +
  • P1467R9, Extended + floating-point types and standard names + (PR106652) +
  • +
  • P1774R8, Portable + assumptions + (PR106654) +
  • +
  • P2295R6, Support for + UTF-8 as a portable source file encoding + (PR106655) +
  • +
  • P2589R1, static operator[] + (PR107684) +
  • New warnings: