[trunk] contribute GDB/thread testing infrastructure from cxx-mem-model branch

Aldy Hernandez aldyh@redhat.com
Wed Sep 21 20:24:00 GMT 2011


I've gotten tired of the false positives in the current testsuite for 
the cxxbitfield* tests.  The tests are highly dependent on assembly 
output, and currently they only work on x86-64/x86-32 (mostly).

I have rewritten the tests to be platform agnostic, by using the 
GDB/thread testing infrastructure from the cxx-mem-model branch.

The original submission happened here:

http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00535.html

I would like to officially contribute the testing infrastructure, which 
not only benefits the bitfield tests, but all the tests Andrew MacLeod 
will bring over when we merge the entire cxx-mem-model branch.

I have rewritten and adapted all the current bitfield tests that are 
store data race dependent.

I am open to a better name than "memmodel".  If any one has a better 
idea, I'm sed competent.

OK for trunk?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110921/78607700/attachment.ksh>


More information about the Gcc-patches mailing list