summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2010-12-15 02:07:07 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2010-12-15 02:07:07 +0000
commit0dcc5c98ecb8d9f91fb748f0f42388441b2afbee (patch)
tree7868a7ab73d50a4350991072018c6a37bfccf221 /libstdc++-v3
parent2e3d957596e6c54bbeb1d080fcb4ca01e2a29b78 (diff)
downloadgcc-0dcc5c98ecb8d9f91fb748f0f42388441b2afbee.tar.gz
re PR libstdc++/46951 (30_threads/future/members/45133.cc failed)
2010-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/46951 * testsuite/30_threads/future/members/45133.cc: Fix dg-options. * testsuite/30_threads/shared_future/members/45133.cc: Likewise. From-SVN: r167839
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/30_threads/future/members/45133.cc5
-rw-r--r--libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc5
3 files changed, 14 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 640cf6f2ce7..4070c2a0432 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR libstdc++/46951
+ * testsuite/30_threads/future/members/45133.cc: Fix dg-options.
+ * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
+
2010-12-14 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/45133
diff --git a/libstdc++-v3/testsuite/30_threads/future/members/45133.cc b/libstdc++-v3/testsuite/30_threads/future/members/45133.cc
index a4e4551d895..aca902d581f 100644
--- a/libstdc++-v3/testsuite/30_threads/future/members/45133.cc
+++ b/libstdc++-v3/testsuite/30_threads/future/members/45133.cc
@@ -1,4 +1,7 @@
-// { dg-options "-std=gnu++0x" }
+// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
+// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
+// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
+// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
// { dg-require-atomic-builtins "" }
diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc
index d71097fb1d6..f6f533a5dcc 100644
--- a/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc
+++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc
@@ -1,4 +1,7 @@
-// { dg-options "-std=gnu++0x" }
+// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
+// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
+// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
+// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
// { dg-require-atomic-builtins "" }