Landing: efe29124c748

Project / Subsystem

gcc / libstdc++

Date

2026-04-29

Author

Tomasz Kamiński

Commit

efe29124c7486a72f23d002e40376fc0f38c21fc

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
efe29124c7486a72f23d002e40376fc0f38c21fc
source_type
github
headline
Libstdc++: Test ATOMIC_*_LOCK_FREE macros for <stdatomic.h>
tldr
This commit adds a test case for the ATOMIC_*_LOCK_FREE macros in <stdatomic.h>, ensuring compliance with the C++ standard.
author
Tomasz Kamiński
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • testsuite
  • atomics
  • C++
discussion_id_link
bugzilla_pr
date
2026-04-29T00:00:00.000Z

This commit adds a new test case to verify the correctness of the ATOMIC_*_LOCK_FREE macros provided by the <stdatomic.h> header. The test is a copy of an existing test for with the header include adjusted to test the freestanding header provided by the C standard. This change ensures that the libstdc++ implementation adheres to the requirements of LWG 4480, which mandates the presence of ATOMIC_CHAR8_T_LOCK_FREE.