aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/valarray
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-06-21 13:51:48 +0000
committerAndi Kleen <ak@gcc.gnu.org>2013-06-21 13:51:48 +0000
commit927f908bf879a79ec26af82671e2a5b93073a8a2 (patch)
treec37e13744a23b3780fe8bdb3aaf2d908e43581d6 /libstdc++-v3/include/std/valarray
parentcca410b69b25a729ea3a4d3614426e380c688ca4 (diff)
downloadgcc-927f908bf879a79ec26af82671e2a5b93073a8a2.zip
gcc-927f908bf879a79ec26af82671e2a5b93073a8a2.tar.gz
gcc-927f908bf879a79ec26af82671e2a5b93073a8a2.tar.bz2
Fix HLE example in manual
The HLE example in the manual only commits when using bool for the flag, because __atomic_clear only writes bool, and HLE requires the acquire and release to match. So when the example is copied with e.g. an int variable it does not commit and causes slower than expected performance. Some people are running into problems because of this. Switch it over to use __atomic_store. Also fix a minor typo nearby. gcc/: 2013-06-21 Andi Kleen <ak@linux.intel.com> * doc/extend.texi: Dont use __atomic_clear in HLE example. Fix typo. From-SVN: r200304
Diffstat (limited to 'libstdc++-v3/include/std/valarray')
0 files changed, 0 insertions, 0 deletions