]> gcc.gnu.org Git - gcc.git/commit
c++: P2493 feature test macro updates
authorJason Merrill <jason@redhat.com>
Wed, 9 Feb 2022 05:30:49 +0000 (00:30 -0500)
committerJason Merrill <jason@redhat.com>
Wed, 9 Feb 2022 14:41:01 +0000 (09:41 -0500)
commitd80f2248c5962318c77624a0eab05b81c59add1b
tree066bbf24549f31c509596d0be29bf89e3f4ba461
parent2d3c477599b02b06e338acd5f5098ee7a3fe6176
c++: P2493 feature test macro updates

The C++ committee just updated the values of these macros to reflect some
late C++20 papers that we implement but others don't yet; see PR103891.

gcc/c-family/ChangeLog:

* c-cppbuiltin.cc (c_cpp_builtins): Update values
of __cpp_constexpr and __cpp_concepts for C++20.

gcc/testsuite/ChangeLog:

* g++.dg/cpp23/feat-cxx2b.C: Adjust.
* g++.dg/cpp2a/feat-cxx2a.C: Adjust.
gcc/c-family/c-cppbuiltin.cc
gcc/testsuite/g++.dg/cpp23/feat-cxx2b.C
gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C
This page took 0.066125 seconds and 6 git commands to generate.