diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2010-01-06 22:55:52 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2010-01-06 22:55:52 +0000 |
commit | 41bcd5a9fdbb3f11d83e0f974cfbb522237f2b53 (patch) | |
tree | 39e679991dfe7f1dc5568ccb6b0d9479c7ec965f /libstdc++-v3/testsuite/performance | |
parent | e67271bd6571e2a3c6adc842350571e59b5a1f86 (diff) |
re PR libstdc++/42491 (performance/30_threads/future/polling.cc fails at compile time)
2010-01-06 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/42491
* scripts/check_performance (CXX): Add -std=gnu++0x.
* testsuite/performance/30_threads/future/polling.cc: Mark up as
using threads.
From-SVN: r155681
Diffstat (limited to 'libstdc++-v3/testsuite/performance')
-rw-r--r-- | libstdc++-v3/testsuite/performance/30_threads/future/polling.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/performance/30_threads/future/polling.cc b/libstdc++-v3/testsuite/performance/30_threads/future/polling.cc index 21405e18ad4..50d622c41a6 100644 --- a/libstdc++-v3/testsuite/performance/30_threads/future/polling.cc +++ b/libstdc++-v3/testsuite/performance/30_threads/future/polling.cc @@ -28,6 +28,10 @@ void poll(std::shared_future<void> f) int main() { +#ifdef TEST_T1 +#define thread_type true +#endif + using namespace __gnu_test; time_counter time; resource_counter resource; |