[Bug libstdc++/106042] std::__once_call abi unmatch for clang and gcc on windows targets

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 21 06:40:09 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106042

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
https://godbolt.org/z/bfeq935b6

https://godbolt.org/z/MjKsTPPfP

clang has exactly the same behavior for x86_64-windows-gnu and
x86_64-windows-msvc (only name mangling is different.) However
x86_64-windows-gnu indicates the abi defined by GCC, clang should match the
behavior of GCC or not the way around? Or GCC should match the behavior with
msvc? but they do not use the same thread model.


More information about the Gcc-bugs mailing list