This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65033] C++11 atomics: is_lock_free result does not always match the real lock-free property
- From: "torvald at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Aug 2016 09:35:02 +0000
- Subject: [Bug libstdc++/65033] C++11 atomics: is_lock_free result does not always match the real lock-free property
- Auto-submitted: auto-generated
- References: <bug-65033-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65033
torvald at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |torvald at gcc dot gnu.org
--- Comment #10 from torvald at gcc dot gnu.org ---
The difference is unfortunate, but C11 specifies that atomic_is_lock_free is
*per object*. I suppose that any change there would have to go through the ISO
C process.