r259931 - [SystemZ] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP macros

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 04:36:34 PST 2016


Hal Finkel <hfinkel at anl.gov> wrote on 09.02.2016 04:59:21:

> We generally notice this when we try to use some part of the C++
> standard library (std::atomic or std::thread as I recall). Could we
> have something in the test-suite that uses that functionality in a
> way likely to expose this bug?

Well, when I looked into it, the problem was already in the
std::thread constructor, which sets up a data structure incorrectly
so that the new thread immediately crashes on startup.

I guess any application that uses C++11 threads should show this
problem immediately.

Bye,
Ulrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160209/ff1b584e/attachment.html>


More information about the cfe-commits mailing list