From: Jonathan Wakely Date: Wed, 21 Jan 2015 16:17:17 +0000 (+0000) Subject: * testsuite/29_atomics/atomic/64658.cc: Test stored value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deff1f4105f4e6feaa5769e59f9edadc6e83cb32;p=gcc.git * testsuite/29_atomics/atomic/64658.cc: Test stored value. From-SVN: r219952 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2c9c40ad0e9..8ab71d90296 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-01-21 Jonathan Wakely + + * testsuite/29_atomics/atomic/64658.cc: Test stored value. + 2015-01-20 Jonathan Wakely * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc b/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc index 64739e0c1de..0b2ff43ff19 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc @@ -17,13 +17,14 @@ // { dg-require-atomic-builtins "" } // { dg-options "-std=gnu++11" } -// { dg-do link } #include +#include int main() { std::atomic i; - atomic_init(&i, 0); + atomic_init(&i, 5); + VERIFY( i == 5 ); }