From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
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 8E1303857C48
for ; Wed, 22 Mar 2023 15:05:51 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E1303857C48
Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1679497550;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=MVqNLfVDYn1Yyop6zAOTPE3rFsnR4bPv+wyQBNSMnRc=;
b=LAzaZCLObZkKWCv5XwnB9yyAER9ihccwEu5Yyfwwwd6FKJICvvRD/qy853VFlp9/ELf6hH
8OKQaGFqAikKOJ5uF0HQe7ziXitPR+5mSv2nX9Gkxs2SNGOLuyFLb36UvjEsn4ePaV+7q+
zud4xrHOPGHRFgeUb3ytbCL9ky0R7kc=
Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com
[209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS
(version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
us-mta-621-18EAQY76PQaE4S5kARoONA-1; Wed, 22 Mar 2023 11:05:45 -0400
X-MC-Unique: 18EAQY76PQaE4S5kARoONA-1
Received: by mail-qk1-f200.google.com with SMTP id 66-20020a370345000000b00746886b1593so4421824qkd.14
for ; Wed, 22 Mar 2023 08:05:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112; t=1679497543;
h=content-transfer-encoding:in-reply-to:from:references:cc:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=MVqNLfVDYn1Yyop6zAOTPE3rFsnR4bPv+wyQBNSMnRc=;
b=ceTRoiMs+T4opv2Pr4W85WdlSyvdCBO/Blz3PvuhvZXVZzANuZKYNpWrWPisE3Pvd6
ikWgvenaEeq0+c2QBNx+sajB40rJKvMFo+m8jCGARVrnN4jijOF5s8+i5MAr3nKJ5Up/
zrNdWI/kkt/v0fG36dum2aQ14ysRU+CNCBinq805gye2fR3v8/22EafZEMPTDcB7w9Vt
f2nVAcZAO5ZZ3w5Gy/9hPM+4uelMrouqKxwtZ+s5R2oIOiHDmrvXM5LjZ1XWmCoiTqmR
gVmkwWWwp6N0W8N1zJitvQZfJGZ7PamnA8X7LiCfpCCZxHAoN+toU9Qc+EG2xiKfrFj6
Gw2Q==
X-Gm-Message-State: AO0yUKUggbh0JX2zqjqz1uFeErB29isazdaA20LOQN+8jpgd8tz5Bf7j
2dMkZoSvcc057aPWXEWMcLS8JwTprHyutFIddfbwfDEF1LhQXul+cUwx+cQuuKn4D0+aCZvLZBa
WaLW7FMEftsP77GZRRw==
X-Received: by 2002:a05:622a:1702:b0:3ba:1c07:e472 with SMTP id h2-20020a05622a170200b003ba1c07e472mr6417291qtk.51.1679497543395;
Wed, 22 Mar 2023 08:05:43 -0700 (PDT)
X-Google-Smtp-Source: AK7set8/HRcB5iL3BQo+MBA3rvMtna0jUgFt+DwXtJNXvX37hiuMQTqzxTeLDu6zT88cCtRcpqAb6g==
X-Received: by 2002:a05:622a:1702:b0:3ba:1c07:e472 with SMTP id h2-20020a05622a170200b003ba1c07e472mr6417243qtk.51.1679497542982;
Wed, 22 Mar 2023 08:05:42 -0700 (PDT)
Received: from [192.168.1.108] (130-44-159-43.s15913.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.159.43])
by smtp.gmail.com with ESMTPSA id j9-20020ac874c9000000b003dffd3d3df5sm6584063qtr.2.2023.03.22.08.05.42
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Wed, 22 Mar 2023 08:05:42 -0700 (PDT)
Message-ID: <27792154-4cac-437d-6160-f88403567ec5@redhat.com>
Date: Wed, 22 Mar 2023 11:05:41 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Subject: Re: [PATCH] wwwdocs: Clarify experimental status of C++17 prior to
GCC 9
To: Jonathan Wakely , gcc-patches@gcc.gnu.org
Cc: Marek Polacek
References: <20230322104230.343644-1-jwakely@redhat.com>
From: Jason Merrill
In-Reply-To: <20230322104230.343644-1-jwakely@redhat.com>
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,KAM_SHORT,NICE_REPLY_A,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
List-Id:
On 3/22/23 06:42, Jonathan Wakely wrote:
> We don't currently have a single page where you can find out when
> support for a given standard became non-experimental (you have to look
> through all the gcc-X/changes.html pages to find it). I think we should
> have that info on the cxx-status.html page. This adds it for C++17, and
> we can do the same for C++20 when we declare that stable.
>
> OK for wwwdocs?
OK.
> -- >8 --
>
> Also link to library docs for C++20 and add a cxx2a anchor which is used
> by some old links.
> ---
> htdocs/projects/cxx-status.html | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
>
> 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
> +
>
> 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.
>