aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-01-17 14:43:24 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-01-18 16:31:02 +0000
commitd7f2a09e98520c4e4927f460ad96803b05a205b1 (patch)
treebd809c3eaedb69416489e908b63c008ccafec443 /gcc
parent58385f6ace42d17da5a73cb9b68ce6173295840f (diff)
downloadgcc-d7f2a09e98520c4e4927f460ad96803b05a205b1.zip
gcc-d7f2a09e98520c4e4927f460ad96803b05a205b1.tar.gz
gcc-d7f2a09e98520c4e4927f460ad96803b05a205b1.tar.bz2
libstdc++: Define <stdatomic.h> for C++23
This adds the C++23 <stdatomic.h> header, as proposed by P0943R6, for compatibility with C code. There are still some ABI differences between atomic_xxx in C and C++ std::atomic_xxx in C++, so this only provides source compatibility, not binary compatibility. libstdc++-v3/ChangeLog: * include/Makefile.am: Install new header. * include/Makefile.in: Regenerate. * include/c_compatibility/stdatomic.h: New file. * testsuite/29_atomics/headers/stdatomic.h/c_compat.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions