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 9D69A3858CDA for ; Wed, 16 Aug 2023 19:03:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9D69A3858CDA 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=1692212622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vtDQBP/9BU5mghoyFIm4HYmLAw6ghh8Lh573VB5WAfE=; b=iO7TjWxUuwlipthi8nxPrXae03Yg38/xfKs7P2XtEViJouaDMFpmXvyipOtLPXX/tUbDsN LoDExaNoYMrh+XmTxy23uVMmF3NAPbI88QaACCj/0Qq7aK3qy/splcDqWhS1JJv0c63tGX jBk1yfXcTPQAzDsob40LKr36h59V0FU= Received: from mimecast-mx02.redhat.com (66.187.233.73 [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-219-gTfTbhiKNxeK5S_MqhiXPw-1; Wed, 16 Aug 2023 15:03:39 -0400 X-MC-Unique: gTfTbhiKNxeK5S_MqhiXPw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ECDB63C100AE; Wed, 16 Aug 2023 19:03:38 +0000 (UTC) Received: from localhost (unknown [10.42.28.201]) by smtp.corp.redhat.com (Postfix) with ESMTP id 92A3B63F6D; Wed, 16 Aug 2023 19:03:38 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Update __cplusplus value for C++23 in version.def Date: Wed, 16 Aug 2023 20:03:17 +0100 Message-ID: <20230816190338.709392-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tested x86_64-linux, pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * include/bits/version.def (stds): Update value for C++23. * include/bits/version.h: Regenerate. --- libstdc++-v3/include/bits/version.def | 2 +- libstdc++-v3/include/bits/version.h | 72 +++++++++++++-------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def index e63715e17e7..1383708b2d7 100644 --- a/libstdc++-v3/include/bits/version.def +++ b/libstdc++-v3/include/bits/version.def @@ -1590,7 +1590,7 @@ stds[11] = ">= 201103L"; stds[14] = ">= 201402L"; stds[17] = ">= 201703L"; stds[20] = ">= 202002L"; -stds[23] = "> 202002L"; // TODO: update when finalized +stds[23] = ">= 202302L"; // Local Variables: // compile-command: "autogen version.def" diff --git a/libstdc++-v3/include/bits/version.h b/libstdc++-v3/include/bits/version.h index 5c5e7ff3264..e87f0884c9c 100644 --- a/libstdc++-v3/include/bits/version.h +++ b/libstdc++-v3/include/bits/version.h @@ -988,7 +988,7 @@ // from version.def line 806 #if !defined(__cpp_lib_optional) -# if (__cplusplus > 202002L) && (__glibcxx_concepts) +# if (__cplusplus >= 202302L) && (__glibcxx_concepts) # define __glibcxx_optional 202110L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional) # define __cpp_lib_optional 202110L @@ -1289,7 +1289,7 @@ // from version.def line 1046 #if !defined(__cpp_lib_ranges) -# if (__cplusplus > 202002L) && (__glibcxx_concepts) +# if (__cplusplus >= 202302L) && (__glibcxx_concepts) # define __glibcxx_ranges 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges) # define __cpp_lib_ranges 202202L @@ -1349,7 +1349,7 @@ // from version.def line 1092 #if !defined(__cpp_lib_constexpr_memory) -# if (__cplusplus > 202002L) && (__cpp_constexpr_dynamic_alloc) +# if (__cplusplus >= 202302L) && (__cpp_constexpr_dynamic_alloc) # define __glibcxx_constexpr_memory 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory) # define __cpp_lib_constexpr_memory 202202L @@ -1578,7 +1578,7 @@ // from version.def line 1307 #if !defined(__cpp_lib_byteswap) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_byteswap 202110L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap) # define __cpp_lib_byteswap 202110L @@ -1589,7 +1589,7 @@ // from version.def line 1315 #if !defined(__cpp_lib_constexpr_charconv) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_constexpr_charconv 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv) # define __cpp_lib_constexpr_charconv 202207L @@ -1600,7 +1600,7 @@ // from version.def line 1323 #if !defined(__cpp_lib_constexpr_typeinfo) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_constexpr_typeinfo 202106L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo) # define __cpp_lib_constexpr_typeinfo 202106L @@ -1611,7 +1611,7 @@ // from version.def line 1331 #if !defined(__cpp_lib_expected) -# if (__cplusplus > 202002L) && (__cpp_concepts >= 202002L) +# if (__cplusplus >= 202302L) && (__cpp_concepts >= 202002L) # define __glibcxx_expected 202211L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected) # define __cpp_lib_expected 202211L @@ -1622,7 +1622,7 @@ // from version.def line 1340 #if !defined(__cpp_lib_invoke_r) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_invoke_r 202106L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r) # define __cpp_lib_invoke_r 202106L @@ -1633,7 +1633,7 @@ // from version.def line 1348 #if !defined(__cpp_lib_is_scoped_enum) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_is_scoped_enum 202011L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum) # define __cpp_lib_is_scoped_enum 202011L @@ -1644,7 +1644,7 @@ // from version.def line 1356 #if !defined(__cpp_lib_reference_from_temporary) -# if (__cplusplus > 202002L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary)) +# if (__cplusplus >= 202302L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary)) # define __glibcxx_reference_from_temporary 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary) # define __cpp_lib_reference_from_temporary 202202L @@ -1655,7 +1655,7 @@ // from version.def line 1367 #if !defined(__cpp_lib_to_underlying) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_to_underlying 202102L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying) # define __cpp_lib_to_underlying 202102L @@ -1666,7 +1666,7 @@ // from version.def line 1375 #if !defined(__cpp_lib_unreachable) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_unreachable 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable) # define __cpp_lib_unreachable 202202L @@ -1677,7 +1677,7 @@ // from version.def line 1383 #if !defined(__cpp_lib_ranges_zip) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_zip 202110L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip) # define __cpp_lib_ranges_zip 202110L @@ -1688,7 +1688,7 @@ // from version.def line 1391 #if !defined(__cpp_lib_ranges_chunk) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_chunk 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk) # define __cpp_lib_ranges_chunk 202202L @@ -1699,7 +1699,7 @@ // from version.def line 1399 #if !defined(__cpp_lib_ranges_slide) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_slide 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide) # define __cpp_lib_ranges_slide 202202L @@ -1710,7 +1710,7 @@ // from version.def line 1407 #if !defined(__cpp_lib_ranges_chunk_by) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_chunk_by 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by) # define __cpp_lib_ranges_chunk_by 202202L @@ -1721,7 +1721,7 @@ // from version.def line 1415 #if !defined(__cpp_lib_ranges_join_with) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_join_with 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with) # define __cpp_lib_ranges_join_with 202202L @@ -1732,7 +1732,7 @@ // from version.def line 1423 #if !defined(__cpp_lib_ranges_repeat) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_repeat 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat) # define __cpp_lib_ranges_repeat 202207L @@ -1743,7 +1743,7 @@ // from version.def line 1431 #if !defined(__cpp_lib_ranges_stride) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_stride 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride) # define __cpp_lib_ranges_stride 202207L @@ -1754,7 +1754,7 @@ // from version.def line 1439 #if !defined(__cpp_lib_ranges_cartesian_product) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_cartesian_product 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product) # define __cpp_lib_ranges_cartesian_product 202207L @@ -1765,7 +1765,7 @@ // from version.def line 1447 #if !defined(__cpp_lib_ranges_as_rvalue) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_as_rvalue 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue) # define __cpp_lib_ranges_as_rvalue 202207L @@ -1776,7 +1776,7 @@ // from version.def line 1455 #if !defined(__cpp_lib_ranges_as_const) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_as_const 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const) # define __cpp_lib_ranges_as_const 202207L @@ -1787,7 +1787,7 @@ // from version.def line 1463 #if !defined(__cpp_lib_ranges_enumerate) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_enumerate 202302L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate) # define __cpp_lib_ranges_enumerate 202302L @@ -1798,7 +1798,7 @@ // from version.def line 1471 #if !defined(__cpp_lib_ranges_fold) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_fold 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold) # define __cpp_lib_ranges_fold 202207L @@ -1809,7 +1809,7 @@ // from version.def line 1479 #if !defined(__cpp_lib_ranges_contains) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_contains 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains) # define __cpp_lib_ranges_contains 202207L @@ -1820,7 +1820,7 @@ // from version.def line 1487 #if !defined(__cpp_lib_ranges_iota) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_iota 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota) # define __cpp_lib_ranges_iota 202202L @@ -1831,7 +1831,7 @@ // from version.def line 1495 #if !defined(__cpp_lib_ranges_find_last) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_ranges_find_last 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last) # define __cpp_lib_ranges_find_last 202207L @@ -1842,7 +1842,7 @@ // from version.def line 1503 #if !defined(__cpp_lib_constexpr_bitset) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc) +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc) # define __glibcxx_constexpr_bitset 202202L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset) # define __cpp_lib_constexpr_bitset 202202L @@ -1853,7 +1853,7 @@ // from version.def line 1513 #if !defined(__cpp_lib_stdatomic_h) -# if (__cplusplus > 202002L) +# if (__cplusplus >= 202302L) # define __glibcxx_stdatomic_h 202011L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h) # define __cpp_lib_stdatomic_h 202011L @@ -1864,7 +1864,7 @@ // from version.def line 1521 #if !defined(__cpp_lib_adaptor_iterator_pair_constructor) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED # define __glibcxx_adaptor_iterator_pair_constructor 202106L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor) # define __cpp_lib_adaptor_iterator_pair_constructor 202106L @@ -1875,7 +1875,7 @@ // from version.def line 1530 #if !defined(__cpp_lib_ios_noreplace) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED # define __glibcxx_ios_noreplace 202207L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace) # define __cpp_lib_ios_noreplace 202207L @@ -1886,7 +1886,7 @@ // from version.def line 1539 #if !defined(__cpp_lib_move_only_function) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED # define __glibcxx_move_only_function 202110L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function) # define __cpp_lib_move_only_function 202110L @@ -1897,7 +1897,7 @@ // from version.def line 1548 #if !defined(__cpp_lib_spanstream) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (__glibcxx_span) +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (__glibcxx_span) # define __glibcxx_spanstream 202106L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream) # define __cpp_lib_spanstream 202106L @@ -1908,7 +1908,7 @@ // from version.def line 1558 #if !defined(__cpp_lib_stacktrace) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE) +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE) # define __glibcxx_stacktrace 202011L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace) # define __cpp_lib_stacktrace 202011L @@ -1919,7 +1919,7 @@ // from version.def line 1568 #if !defined(__cpp_lib_string_contains) -# if (__cplusplus > 202002L) && _GLIBCXX_HOSTED +# if (__cplusplus >= 202302L) && _GLIBCXX_HOSTED # define __glibcxx_string_contains 202011L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains) # define __cpp_lib_string_contains 202011L @@ -1930,7 +1930,7 @@ // from version.def line 1577 #if !defined(__cpp_lib_string_resize_and_overwrite) -# if (__cplusplus > 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED +# if (__cplusplus >= 202302L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED # define __glibcxx_string_resize_and_overwrite 202110L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite) # define __cpp_lib_string_resize_and_overwrite 202110L -- 2.41.0