aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-tool.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-14 19:22:47 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-16 08:00:36 +0000
commite469f9003dd1188ef87ddb62e3ab4d5cbeb905b4 (patch)
tree0ec4139178148547833ec3756203c98b9fd71472 /gcc/gcov-tool.cc
parent17aca35c0ecd23de40c1352c0a7220bad3f11cfc (diff)
downloadgcc-e469f9003dd1188ef87ddb62e3ab4d5cbeb905b4.zip
gcc-e469f9003dd1188ef87ddb62e3ab4d5cbeb905b4.tar.gz
gcc-e469f9003dd1188ef87ddb62e3ab4d5cbeb905b4.tar.bz2
libstdc++: Use 202100L as feature test check for C++23
I noticed that our C++23 features were not being defined when using Clang 16 with -std=c++2b, because it only defines __cplusplus=202101L but <bits/version.h> uses 202302L since my r14-3252-g0c316669b092fb change. This changes <bits/version.h> to use 202100 instead of the final 202302 value so that we support Clang 16's -std=c++2b mode. libstdc++-v3/ChangeLog: * include/bits/version.def (stds): Use >= 202100 for C++23 condition. * include/bits/version.h: Regenerate. * include/std/thread: Use > C++20 instead of >= C++23 for __cplusplus condition.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions