2010-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2010 02:07:07 +0000 (02:07 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2010 02:07:07 +0000 (02:07 +0000)
PR libstdc++/46951
* testsuite/30_threads/future/members/45133.cc: Fix dg-options.
* testsuite/30_threads/shared_future/members/45133.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167839 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/30_threads/future/members/45133.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc

index 640cf6f..4070c2a 100644 (file)
@@ -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
index a4e4551..aca902d 100644 (file)
@@ -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 "" }
index d71097f..f6f533a 100644 (file)
@@ -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 "" }