public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: [committed 0/8] libstdc++: Add/update/fix feature test macros
Date: Wed, 22 Apr 2020 22:57:58 +0100	[thread overview]
Message-ID: <cover.1587592482.git.jwakely@redhat.com> (raw)

This series of patches fixes a number of omissions and errors in the
feature test macros we define.

Tested powerpc64le-linux, committed to master.

Jonathan Wakely (8):
  libstdc++: Update value of __cpp_lib_jthread macro
  libstdc++: Remove non-standard feature test macros
  libstdc++: Add missing feature test macros
  libstdc++: Rename __cpp_lib_constexpr_invoke macro
  libstdc++: Update __cpp_lib_concepts value
  libstdc++: Do not define __cpp_lib_constexpr_algorithms in <utility>
  libstdc++: Update (and revert) value of __cpp_lib_array_constexpr
  libstdc++: Define __cpp_lib_execution feature test macro

 libstdc++-v3/ChangeLog                        | 87 +++++++++++++++++++
 libstdc++-v3/include/bits/ptr_traits.h        |  3 +
 libstdc++-v3/include/bits/range_access.h      |  1 +
 libstdc++-v3/include/bits/ranges_algo.h       |  1 +
 libstdc++-v3/include/bits/stl_iterator.h      |  6 +-
 libstdc++-v3/include/bits/stl_map.h           |  1 -
 libstdc++-v3/include/bits/unordered_map.h     |  1 -
 libstdc++-v3/include/std/atomic               |  1 +
 libstdc++-v3/include/std/concepts             |  2 +-
 libstdc++-v3/include/std/condition_variable   |  3 +-
 libstdc++-v3/include/std/execution            |  1 +
 libstdc++-v3/include/std/functional           |  2 +-
 libstdc++-v3/include/std/memory               |  1 +
 libstdc++-v3/include/std/memory_resource      |  1 +
 libstdc++-v3/include/std/stop_token           |  2 +-
 libstdc++-v3/include/std/string_view          |  1 +
 libstdc++-v3/include/std/type_traits          |  4 +
 libstdc++-v3/include/std/utility              |  8 +-
 libstdc++-v3/include/std/version              | 26 ++++--
 .../testsuite/20_util/exchange/constexpr.cc   |  6 --
 .../function_objects/invoke/constexpr.cc      |  4 +-
 .../testsuite/20_util/to_address/1_neg.cc     |  2 +-
 .../array/comparison_operators/constexpr.cc   |  6 ++
 .../array/element_access/constexpr_c++17.cc   | 57 ++++++++++++
 .../array/requirements/constexpr_fill.cc      |  6 ++
 .../array/requirements/constexpr_iter.cc      | 12 ++-
 .../25_algorithms/pstl/feature_test-2.cc      | 27 ++++++
 .../25_algorithms/pstl/feature_test-3.cc      | 34 ++++++++
 .../25_algorithms/pstl/feature_test-4.cc      | 33 +++++++
 .../25_algorithms/pstl/feature_test-5.cc      | 28 ++++++
 .../25_algorithms/pstl/feature_test.cc        | 27 +-----
 .../condition_variable_any/stop_token/1.cc    |  2 +-
 .../condition_variable_any/stop_token/2.cc    |  2 +-
 .../testsuite/30_threads/jthread/1.cc         |  2 +-
 .../testsuite/30_threads/jthread/2.cc         |  2 +-
 .../testsuite/30_threads/stop_token/1.cc      |  2 +-
 .../testsuite/30_threads/stop_token/2.cc      |  2 +-
 libstdc++-v3/testsuite/std/concepts/1.cc      |  2 +-
 libstdc++-v3/testsuite/std/concepts/2.cc      |  2 +-
 39 files changed, 345 insertions(+), 65 deletions(-)
 create mode 100644 libstdc++-v3/testsuite/23_containers/array/element_access/constexpr_c++17.cc
 create mode 100644 libstdc++-v3/testsuite/25_algorithms/pstl/feature_test-2.cc
 create mode 100644 libstdc++-v3/testsuite/25_algorithms/pstl/feature_test-3.cc
 create mode 100644 libstdc++-v3/testsuite/25_algorithms/pstl/feature_test-4.cc
 create mode 100644 libstdc++-v3/testsuite/25_algorithms/pstl/feature_test-5.cc

-- 
2.25.3


             reply	other threads:[~2020-04-22 21:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 21:57 Jonathan Wakely [this message]
2020-04-22 21:58 ` [committed 1/8] libstdc++: Update value of __cpp_lib_jthread macro Jonathan Wakely
2020-04-22 21:58 ` [committed 2/8] libstdc++: Remove non-standard feature test macros Jonathan Wakely
2020-04-22 21:58 ` [committed 3/8] libstdc++: Add missing " Jonathan Wakely
2020-04-22 21:58 ` [committed 4/8] libstdc++: Rename __cpp_lib_constexpr_invoke macro Jonathan Wakely
2020-04-22 21:59 ` [committed 5/8] libstdc++: Update __cpp_lib_concepts value Jonathan Wakely
2020-04-22 21:59 ` [committed 6/8] libstdc++: Do not define __cpp_lib_constexpr_algorithms in <utility> Jonathan Wakely
2020-04-22 21:59 ` [committed 7/8] libstdc++: Update (and revert) value of __cpp_lib_array_constexpr Jonathan Wakely
2020-04-23 20:44   ` Jonathan Wakely
2020-04-22 21:59 ` [committed 8/8] libstdc++: Define __cpp_lib_execution feature test macro Jonathan Wakely
2020-04-23 20:41 ` [committed 9/8] libstdc++: Define __cpp_lib_three_way_comparison for freestanding Jonathan Wakely
2020-04-23 20:46 ` [committed 0/8] libstdc++: Add/update/fix feature test macros Jonathan Wakely
2020-04-28 22:52 ` [committed 10/8] libstdc++: Fixes for feature test macros (PR 91480) Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1587592482.git.jwakely@redhat.com \
    --to=jwakely@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).