This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/52190] question about atomic intrinsics -- test and documentation vary -- please clarify


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]