Re: [v3] add missing dg-require to tests

2011-11-07 Thread Eric Botcazou
> Fixed like so ... > > * include/std/mutex (call_once): Store closure in __once_functor > as bound function wrapper might not be copyable. > > The fix would be simpler but the lambda can't capture the parameter > pack directly because of PR c++/41933. Unfortunately the non-TLS > st

Re: [v3] add missing dg-require to tests

2011-11-07 Thread Jonathan Wakely
On 7 November 2011 21:51, Jonathan Wakely wrote: > > Aha, this is a problem with all platforms where _GLIBCXX_HAVE_TLS is > not defined, std::call_once uses std:function which assumes a copyable > target object. > > I'm working on it .. > Fixed like so ... * include/std/mutex (call_once):

Re: [v3] add missing dg-require to tests

2011-11-07 Thread Jonathan Wakely
On 7 November 2011 21:05, Jonathan Wakely wrote: > On 7 November 2011 20:58, Eric Botcazou wrote: >>> Tested x86_64-linux and committed to trunk. >>> >>>         * testsuite/30_threads/async/49668.cc: Add missing dg-require. >>>         * testsuite/30_threads/packaged_task/49668.cc: Likewise. >> >>

Re: [v3] add missing dg-require to tests

2011-11-07 Thread Jonathan Wakely
On 7 November 2011 20:58, Eric Botcazou wrote: >> Tested x86_64-linux and committed to trunk. >> >>         * testsuite/30_threads/async/49668.cc: Add missing dg-require. >>         * testsuite/30_threads/packaged_task/49668.cc: Likewise. > > We have a related failure on SPARC/Solaris for some time

Re: [v3] add missing dg-require to tests

2011-11-07 Thread Eric Botcazou
> Tested x86_64-linux and committed to trunk. > > * testsuite/30_threads/async/49668.cc: Add missing dg-require. > * testsuite/30_threads/packaged_task/49668.cc: Likewise. We have a related failure on SPARC/Solaris for some time: FAIL: 30_threads/call_once/49668.cc (test for exces

[v3] add missing dg-require to tests

2011-10-24 Thread Jonathan Wakely
http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg02603.html shows two test failures on sparc64-linux, fixed by this patch. Tested x86_64-linux and committed to trunk. * testsuite/30_threads/async/49668.cc: Add missing dg-require. * testsuite/30_threads/packaged_task/49668.cc: Like