From 8ca1b3428a8519deae9c0d5b2c2d31cfd9ef0042 Mon Sep 17 00:00:00 2001 From: Andrew MacLeod Date: Mon, 13 Feb 2012 15:37:33 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56f63f8ea87..536933b4175 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 a131c918d3e..ae50ae0579d 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.