From patchwork Tue Aug 22 08:15:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 136468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp3479506vqi; Tue, 22 Aug 2023 01:16:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfWbZrfx37mFTyN9oB1zF3/bFv4l6M5eWYmqf8Cr108mEFUozvfJvWxBidOkoVrE4Jny+5 X-Received: by 2002:a17:907:7757:b0:9a1:aede:edfb with SMTP id kx23-20020a170907775700b009a1aedeedfbmr1500181ejc.12.1692692195032; Tue, 22 Aug 2023 01:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692692195; cv=none; d=google.com; s=arc-20160816; b=AhiCO+kLpRCGDKCvCTNXJ0lPXGsc3p97ITzts7ch7sYvTFujI5T/2r2pozbUTn7SM1 gOfK9c4OR/cEkJaNRaTsZlrQ+dJcdOuxuNdlGeo9txlAqrvCB+CpSSwZiW9MYdmjazNX WHKC+IseI8uwY6136BOQcCVIj4ItzHAeYUuFYitpsd8g8PQvClLQckJ95OH8xiaoC9MP eLU+ex5CnGcuJhOme5k+Wql7dlBRQLkvL2Sg97IHHe5/APbz7kT+aI/NcgBXlqmMggLM DR8zYhDevzeLRMMXCTKo531tX9WeyY6OnY0MInR9ql+i8xk0k5jjPfw8+ADHOuwmV09b nkcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:cc:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=7/koyGv0TAIiY1nTeIdtog83P8MsTrZ2vp1+xQbld3I=; fh=IMTvZBfL0G7+xziJdWPs4IsGafFJ6QqWQkMOdm9kPF0=; b=b6VwstlsVPPLVvn4vBbwUy9ylCxONdhhudYs4fkmiald4OXwrfNKTSUh1qVcEiMcBC nh+3dZouD6DojGikI4fsgl3kIXoVHvq+qY8XXYXsfqQLpebffHrmwp2xUehuTRlhgiHX JvGaR7n3Crkr8qHElszjTAWI/CUvxtoqdIKAiY5GNf3EjGOy5WZ4Cp30KEWVm+VhXZja 7WF4VBz7pgzrzH0d/WW/GGnq0xUX9PFgMTzLvwX2caIGsd3hVD+s02e8MAa8GjTmjxH2 4CjeP9gp3b/JpbnSs/hcomqnSdoZYcNZCPirleZEaAwqQhikKLy9BxDN6qZVrJni1xG2 LGXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=pHojW+jc; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id j9-20020a1709066dc900b0099bc106611esi7115703ejt.824.2023.08.22.01.16.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Aug 2023 01:16:35 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=pHojW+jc; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B51B73857355 for ; Tue, 22 Aug 2023 08:16:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B51B73857355 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692692193; bh=7/koyGv0TAIiY1nTeIdtog83P8MsTrZ2vp1+xQbld3I=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=pHojW+jckQMLugbGcxnTFNAu1wNhDGj5TRkOQ8Y9UsoLxC3/BOwcktfWe7bS5c36q yAzHzdUW/JNpZYZU2jv/NNnC9azrZwisl0gVar1vXH8dqzZW4Dwm7BijMe5irKfo+u THnpN1eGj/ksryFvEO/BStkGUpVsTd0ol7RrHpW8= 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 888AE3858C60 for ; Tue, 22 Aug 2023 08:15:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 888AE3858C60 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-149-DpUbsiQ6OgqPHCGCixoNPA-1; Tue, 22 Aug 2023 04:15:41 -0400 X-MC-Unique: DpUbsiQ6OgqPHCGCixoNPA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D4B6B85D062 for ; Tue, 22 Aug 2023 08:15:40 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.225.165]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8ECB82166B26; Tue, 22 Aug 2023 08:15:17 +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 37M8FFfR2416282 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 22 Aug 2023 10:15:15 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 37M8FF0X2416281; Tue, 22 Aug 2023 10:15:15 +0200 Date: Tue, 22 Aug 2023 10:15:15 +0200 To: Jason Merrill Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] doc: Remove obsolete sentence about _Float* not being supported in C++ [PR106652] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774916411204606962 X-GMAIL-MSGID: 1774916411204606962 Hi! As mentioned in the PR, these types are supported in C++ since GCC 13, so we shouldn't confuse users. Ok for trunk? 2023-08-22 Jakub Jelinek PR c++/106652 * doc/extend.texi (_Float): Drop obsolete sentence that the types aren't supported in C++. Jakub --- gcc/doc/extend.texi.jj 2023-08-18 09:33:45.738666727 +0200 +++ gcc/doc/extend.texi 2023-08-21 21:36:01.376269073 +0200 @@ -1084,7 +1084,7 @@ infinities, NaNs and negative zeros are ISO/IEC TS 18661-3:2015 defines C support for additional floating types @code{_Float@var{n}} and @code{_Float@var{n}x}, and GCC supports these type names; the set of types supported depends on the target -architecture. These types are not supported when compiling C++. +architecture. Constants with these types use suffixes @code{f@var{n}} or @code{F@var{n}} and @code{f@var{n}x} or @code{F@var{n}x}. These type names can be used together with @code{_Complex} to declare complex