r180815 - in /branches/cxx-mem-model/gcc: Chang...

rth@gcc.gnu.org rth@gcc.gnu.org
Thu Nov 3 05:01:00 GMT 2011


Author: rth
Date: Thu Nov  3 05:01:25 2011
New Revision: 180815

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180815
Log:
Remove compare-and-swap fallback for __atomic_load.

This might be valid if we knew for certain that the memory is
writable.  But I don't see that we can assume that.

	* optabs.c (expand_atomic_load): Don't try compare-and-swap.

Removed:
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-load-5.c
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/simulate-thread/atomic-load-int128.c
Modified:
    branches/cxx-mem-model/gcc/ChangeLog.mm
    branches/cxx-mem-model/gcc/optabs.c
    branches/cxx-mem-model/gcc/testsuite/ChangeLog.mm



More information about the Gcc-cvs mailing list