Landing: 1b191d0a23f3
Project / Subsystem
gcc / libstdc++
Date
2026-05-15
Author
Jonathan Wakely
Commit
1b191d0a23f3b82f6543913f8c3c2e46942af859
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 1b191d0a23f3b82f6543913f8c3c2e46942af859
- source_type
- github
- headline
- libstdc++: Fix atomic check on Windows for MinGW builds.
- tldr
- Fixes configure check for atomics on native MinGW-w64 builds in libstdc++.
- author
- Jonathan Wakely
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • mingw
- • windows
- • atomics
- • configure
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-15T00:00:00.000Z
This commit resolves an issue where the configure script incorrectly detected a lack of atomic builtins for native MinGW-w64 builds, leading to the use of non-inline atomics. The fix involves copying the atomic_word.h header to the current working directory during the configure process, allowing it to be included without absolute paths. This ensures the correct ABI and consistent behavior with MinGW cross-compilers.