diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-15 02:07:07 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-15 02:07:07 +0000 |
commit | ea4a64c32fae1fa3e3e8e11049fe53964d9cb10c (patch) | |
tree | 7868a7ab73d50a4350991072018c6a37bfccf221 /libstdc++-v3 | |
parent | a06f21f7e3189d230c5cc0a40033f2ea551dabf8 (diff) | |
download | gcc-ea4a64c32fae1fa3e3e8e11049fe53964d9cb10c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/future/members/45133.cc | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc | 5 |
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 "" } |