Hi,

I checked in this patch as an obvious fix.

H.J.
---
Index: doc/extend.texi
===================================================================
--- doc/extend.texi     (revision 179396)
+++ doc/extend.texi     (working copy)
@@ -6722,8 +6722,8 @@ return the new value.  That is,
 builtin as @code{*ptr = ~(*ptr & value)} instead of
 @code{*ptr = ~*ptr & value}.
 
-@item bool __sync_bool_compare_and_swap (@var{type} *ptr, @var{type} oldval 
@var{type} newval, ...)
-@itemx @var{type} __sync_val_compare_and_swap (@var{type} *ptr, @var{type} 
oldval @var{type} newval, ...)
+@item bool __sync_bool_compare_and_swap (@var{type} *ptr, @var{type} oldval, 
@var{type} newval, ...)
+@itemx @var{type} __sync_val_compare_and_swap (@var{type} *ptr, @var{type} 
oldval, @var{type} newval, ...)
 @findex __sync_bool_compare_and_swap
 @findex __sync_val_compare_and_swap
 These builtins perform an atomic compare and swap.  That is, if the current
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 179396)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2011-09-30  H.J. Lu  <hongjiu...@intel.com>
+
+       * doc/extend.texi: Add missing ','.
+
 2011-09-30  Bernd Schmidt  <ber...@codesourcery.com>
 
        * common/config/c6x/c6x-common.c (c6x_option_optimization_table):

Reply via email to