Plus this bit, which I didn't include in my 'svn diff' command for the last patches:
* testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. The patch has kindly been tested by Dominique Dhumieres on x86_64-darwin and works as intended. There are a number of failures in the 30_threads tests due to PR 50598, which didn't affect libstdc++ previously because the 30_threads tests were all disabled as unsupported.
Index: testsuite/30_threads/unique_lock/cons/5.cc =================================================================== --- testsuite/30_threads/unique_lock/cons/5.cc (revision 180278) +++ testsuite/30_threads/unique_lock/cons/5.cc (working copy) @@ -3,9 +3,9 @@ // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" } -// { dg-require-gthreads "" } +// { dg-require-gthreads-timed "" } -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010, 2011 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 Index: testsuite/30_threads/unique_lock/cons/6.cc =================================================================== --- testsuite/30_threads/unique_lock/cons/6.cc (revision 180278) +++ testsuite/30_threads/unique_lock/cons/6.cc (working copy) @@ -3,9 +3,9 @@ // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" } -// { dg-require-gthreads "" } +// { dg-require-gthreads-timed "" } -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010, 2011 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 Index: testsuite/30_threads/unique_lock/locking/3.cc =================================================================== --- testsuite/30_threads/unique_lock/locking/3.cc (revision 180278) +++ testsuite/30_threads/unique_lock/locking/3.cc (working copy) @@ -3,9 +3,9 @@ // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" } -// { dg-require-gthreads "" } +// { dg-require-gthreads-timed "" } -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010, 2011 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 Index: testsuite/30_threads/unique_lock/locking/4.cc =================================================================== --- testsuite/30_threads/unique_lock/locking/4.cc (revision 180278) +++ testsuite/30_threads/unique_lock/locking/4.cc (working copy) @@ -3,9 +3,9 @@ // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" } -// { dg-require-gthreads "" } +// { dg-require-gthreads-timed "" } -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010, 2011 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