This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52190] question about atomic intrinsics -- test and documentation vary -- please clarify
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Feb 2012 14:02:42 +0000
- Subject: [Bug c/52190] question about atomic intrinsics -- test and documentation vary -- please clarify
- Auto-submitted: auto-generated
- References: <bug-52190-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52190
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-12 14:02:42 UTC ---
The docs for __atomic_compare_exchange_n say:
"True is returned if *desired is written into *ptr"
but desired is not a pointer, that asterisk should go, right?