aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-07 12:22:42 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-08 20:40:35 +0100
commit40d234dd6439e8c8cfbf3f375a61906aed35c80d (patch)
tree73bea4bd3a8a9bb5afc5f5ba71fbdf35ab6453ff /gcc
parenta0e64a043ec498f959a214b5b02d6c7177984a0f (diff)
downloadgcc-40d234dd6439e8c8cfbf3f375a61906aed35c80d.zip
gcc-40d234dd6439e8c8cfbf3f375a61906aed35c80d.tar.gz
gcc-40d234dd6439e8c8cfbf3f375a61906aed35c80d.tar.bz2
libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807]
The definition of the _Atomic(T) macro needs to refer to ::std::atomic, not some other std::atomic relative to the current namespace. libstdc++-v3/ChangeLog: PR libstdc++/115807 * include/c_compatibility/stdatomic.h (_Atomic): Ensure it refers to std::atomic in the global namespace. * testsuite/29_atomics/headers/stdatomic.h/115807.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions