From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1720) id DD7F73858C98; Wed, 20 Mar 2024 18:00:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD7F73858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710957618; bh=lfbqbGhX6h2WuxxS6lsUejAXX1Ogrtn7DfAemcsn8Xg=; h=From:To:Subject:Date:From; b=xyeUzlqrDWSBWXYitFToVkoWJbirmf+wB5F74WhEsHO/8IxEwqO3QjR5z/2HEDHbS j6UJQwvQNdyrJVMr8YJVMZ3bfD+cMB2ks0nsJeSgjnwB/UUDjpDoK/IgQ/aR1ByXlh 7TRcOB29K3xxp5a+8HA/Ciszj+BtZdcd4RUcumow= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Francois Dumont To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-9580] libstdc++: [_GLIBCXX_DEBUG] Define __cpp_lib_null_iterators X-Act-Checkin: gcc X-Git-Author: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Git-Refname: refs/heads/master X-Git-Oldrev: b05ee9b69e4644cefbb94a768c4ea302fd44b934 X-Git-Newrev: d2b25083a41347ce3d2875fcd932dcb08756058a Message-Id: <20240320180018.DD7F73858C98@sourceware.org> Date: Wed, 20 Mar 2024 18:00:18 +0000 (GMT) List-Id: https://gcc.gnu.org/g:d2b25083a41347ce3d2875fcd932dcb08756058a commit r14-9580-gd2b25083a41347ce3d2875fcd932dcb08756058a Author: François Dumont Date: Wed Mar 20 06:47:20 2024 +0100 libstdc++: [_GLIBCXX_DEBUG] Define __cpp_lib_null_iterators _GLIBCXX_DEBUG has now fully N3344 compliant iterator checks, we can define __cpp_lib_null_iterators macros like the normal mode. libstdc++-v3/ChangeLog: * include/bits/version.def (null_iterators): Remove extra_cond. * include/bits/version.h: Regenerate. Diff: --- libstdc++-v3/include/bits/version.def | 1 - libstdc++-v3/include/bits/version.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def index be5af18e818..26e62c6a9b2 100644 --- a/libstdc++-v3/include/bits/version.def +++ b/libstdc++-v3/include/bits/version.def @@ -209,7 +209,6 @@ ftms = { values = { v = 201304; cxxmin = 14; - extra_cond = "!defined(_GLIBCXX_DEBUG)"; }; }; diff --git a/libstdc++-v3/include/bits/version.h b/libstdc++-v3/include/bits/version.h index 9107b45a484..23c8c09ab4b 100644 --- a/libstdc++-v3/include/bits/version.h +++ b/libstdc++-v3/include/bits/version.h @@ -214,7 +214,7 @@ #undef __glibcxx_want_make_reverse_iterator #if !defined(__cpp_lib_null_iterators) -# if (__cplusplus >= 201402L) && (!defined(_GLIBCXX_DEBUG)) +# if (__cplusplus >= 201402L) # define __glibcxx_null_iterators 201304L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators) # define __cpp_lib_null_iterators 201304L