gcc/libstdc++-v3/include/c_compatibility
Jonathan Wakely c94c8ff5f5 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.

(cherry picked from commit 40d234dd6439e8c8cfbf3f375a61906aed35c80d)
2024-07-09 19:59:21 +01:00
..
assert.h Update copyright years. 2024-01-03 12:19:35 +01:00
complex.h Update copyright years. 2024-01-03 12:19:35 +01:00
ctype.h Update copyright years. 2024-01-03 12:19:35 +01:00
errno.h Update copyright years. 2024-01-03 12:19:35 +01:00
fenv.h Update copyright years. 2024-01-03 12:19:35 +01:00
float.h Update copyright years. 2024-01-03 12:19:35 +01:00
inttypes.h Update copyright years. 2024-01-03 12:19:35 +01:00
iso646.h Update copyright years. 2024-01-03 12:19:35 +01:00
limits.h Update copyright years. 2024-01-03 12:19:35 +01:00
locale.h Update copyright years. 2024-01-03 12:19:35 +01:00
math.h Update copyright years. 2024-01-03 12:19:35 +01:00
setjmp.h Update copyright years. 2024-01-03 12:19:35 +01:00
signal.h Update copyright years. 2024-01-03 12:19:35 +01:00
stdarg.h Update copyright years. 2024-01-03 12:19:35 +01:00
stdatomic.h libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807] 2024-07-09 19:59:21 +01:00
stdbool.h Update copyright years. 2024-01-03 12:19:35 +01:00
stddef.h Update copyright years. 2024-01-03 12:19:35 +01:00
stdint.h Update copyright years. 2024-01-03 12:19:35 +01:00
stdio.h Update copyright years. 2024-01-03 12:19:35 +01:00
stdlib.h Update copyright years. 2024-01-03 12:19:35 +01:00
string.h Update copyright years. 2024-01-03 12:19:35 +01:00
tgmath.h Update copyright years. 2024-01-03 12:19:35 +01:00
time.h Update copyright years. 2024-01-03 12:19:35 +01:00
uchar.h Update copyright years. 2024-01-03 12:19:35 +01:00
wchar.h Update copyright years. 2024-01-03 12:19:35 +01:00
wctype.h Update copyright years. 2024-01-03 12:19:35 +01:00