From: Andrew MacLeod Date: Mon, 13 Feb 2012 15:37:33 +0000 (+0000) Subject: re PR c/52190 (question about atomic intrinsics -- test and documentation vary -... X-Git-Tag: releases/gcc-4.7.0~433 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ca1b3428a8519deae9c0d5b2c2d31cfd9ef0042;p=thirdparty%2Fgcc.git re PR c/52190 (question about atomic intrinsics -- test and documentation vary -- please clarify) 2012-02-13 Andrew MacLeod PR c/52190 * doc/extend.texi : Fix another __atomic_compare_exchange typo. From-SVN: r184156 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56f63f8ea874..536933b41755 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-02-13 Andrew MacLeod + + PR c/52190 + * doc/extend.texi : Fix another __atomic_compare_exchange typo. + 2012-02-13 Richard Guenther PR translation/52211 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index a131c918d3e7..ae50ae0579db 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7151,7 +7151,7 @@ for weak compare_exchange, and false for the strong variation. Many targets only offer the strong variation and ignore the parameter. When in doubt, use the strong variation. -True is returned if @code{*@var{desired}} is written into +True is returned if @var{desired} is written into @code{*@var{ptr}} and the execution is considered to conform to the memory model specified by @var{success_memmodel}. There are no restrictions on what memory model can be used here.