This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Clarify __atomic_compare_exchange_n docs
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: Andrew Haley <aph at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Oct 2015 19:40:07 +0100
- Subject: Re: [PATCH] Clarify __atomic_compare_exchange_n docs
- Authentication-results: sourceware.org; auth=none
- References: <20150929120038 dot GW12094 at redhat dot com> <560AAC7B dot 4030904 at codesourcery dot com> <560D18EB dot 5090900 at redhat dot com> <560D73F5 dot 9090908 at codesourcery dot com> <20151001183518 dot GL12094 at redhat dot com>
There's a typo in an example too.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index ce1b4ae..599ad87 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -9471,7 +9471,7 @@ alignment. A value of 0 indicates typical alignment should be used. The
compiler may also ignore this parameter.
@smallexample
-if (_atomic_always_lock_free (sizeof (long long), 0))
+if (__atomic_always_lock_free (sizeof (long long), 0))
@end smallexample
@end deftypefn