aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/extend.texi4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 485e839..2b62b96 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/extend.texi: Add missing ','.
+
2011-09-30 Bernd Schmidt <bernds@codesourcery.com>
* common/config/c6x/c6x-common.c (c6x_option_optimization_table):
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7ca50da..5fe0371 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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