----- Original Message ----- > From: "Ulrich Weigand" <ulrich.weig...@de.ibm.com> > To: "Hal Finkel" <hfin...@anl.gov> > Cc: cfe-commits@lists.llvm.org > Sent: Tuesday, February 9, 2016 6:36:34 AM > Subject: Re: r259931 - [SystemZ] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP > macros > > > > Hal Finkel <hfin...@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.
I'm not sure we have anything like that in our test suite. Could you add a simple test? -Hal > > Bye, > Ulrich > > -- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits