aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-04-22 22:54:35 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-04-22 22:54:35 +0100
commitaac39307e8f589dba231083a3e9aa3d0ff302837 (patch)
tree986ab0f4118b041f2841d795c4cabb88244c15eb /gcc/cp/class.c
parente851aa1703c3d911720d8f9bee68a521abe588f7 (diff)
downloadgcc-aac39307e8f589dba231083a3e9aa3d0ff302837.zip
gcc-aac39307e8f589dba231083a3e9aa3d0ff302837.tar.gz
gcc-aac39307e8f589dba231083a3e9aa3d0ff302837.tar.bz2
libstdc++: Define __cpp_lib_execution feature test macro
This macro has never been defined by libstdc++, despite supporting the parallel algorithms. It should have a different value for C++17 and C++20, because P1001R2 should not be supported in C++17, but unsequenced_policy is defined for C++17 (see PR p4702). * include/std/execution (__cpp_lib_execution): Define to indicate support for P0024R2 and P1001R2. * include/std/version (__cpp_lib_execution): Define. * testsuite/25_algorithms/pstl/feature_test.cc: Only test macro defined by <algorithm>, move other tests to new tests ... * testsuite/25_algorithms/pstl/feature_test-2.cc: New test. * testsuite/25_algorithms/pstl/feature_test-3.cc: New test. * testsuite/25_algorithms/pstl/feature_test-4.cc: New test. * testsuite/25_algorithms/pstl/feature_test-5.cc: New test.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions