diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2010-03-02 15:36:00 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-03-02 15:36:00 +0000 |
commit | 38f86abadf307e655aa07cb5538990a291adfb21 (patch) | |
tree | a1e2bcf0dcb244f64e0306122fd07e315d580ae5 | |
parent | ec7058d64dfb1cfc875f5c4692a6568c9520baee (diff) | |
download | gcc-38f86abadf307e655aa07cb5538990a291adfb21.zip gcc-38f86abadf307e655aa07cb5538990a291adfb21.tar.gz gcc-38f86abadf307e655aa07cb5538990a291adfb21.tar.bz2 |
re PR libstdc++/43230 (Revision 157158 failed 30_threads/promise/members/set_value3.cc)
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/43230
* testsuite/30_threads/promise/members/set_value3.cc
(tester::~tester): Remove.
From-SVN: r157166
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc | 11 |
2 files changed, 7 insertions, 10 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ec69d26a..a87995c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com> + + PR libstdc++/43230 + * testsuite/30_threads/promise/members/set_value3.cc + (tester::~tester): Remove. + 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/std/bitset (_Base_bitset<>::_M_getdata()): Add. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc index b94b1b6..5dabff9 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc @@ -6,7 +6,7 @@ // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } -// Copyright (C) 2009 Free Software Foundation, Inc. +// Copyright (C) 2009, 2010 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -23,7 +23,6 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - #include <future> #include <testsuite_hooks.h> @@ -36,7 +35,6 @@ struct tester tester(int); tester(const tester&); tester() = delete; - ~tester(); tester& operator=(const tester&); }; @@ -64,12 +62,6 @@ tester& tester::operator=(const tester&) return *this; } -tester::~tester() -{ - bool test __attribute__((unused)) = true; - VERIFY (fglobal.wait_for(std::chrono::milliseconds(1))); -} - void test01() { bool test __attribute__((unused)) = true; @@ -82,6 +74,5 @@ void test01() int main() { test01(); - return 0; } |