[cxx-mem-model] options for controlling data races

Aldy Hernandez aldyh@redhat.com
Mon Mar 14 13:20:00 GMT 2011


The following patch adds the --param(eters) needed to tweak the 
optimizers into allowing or disallowing data races in cross-thread 
visible data.

There will be additional flags added later to make these parameters 
available to the common user.  It has been suggested to use 
-fmemory-model=xxx, but I will implement this later.

The next step will be to find out where we introduce the data races in 
the testsuite, and fix the optimizers accordingly.

Committed to branch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110314/9b223b20/attachment.ksh>


More information about the Gcc-patches mailing list