]> git.ipfire.org Git - thirdparty/gcc.git/commit
libphobos: core.atomic should have fallback when there's no libatomic.
authoribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Apr 2019 17:14:50 +0000 (17:14 +0000)
committeribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Apr 2019 17:14:50 +0000 (17:14 +0000)
commitcad9f0857b5754bfd777989fc0aa4f69f6fce436
treefedb67de507eeb9933d91d1bb0e2a401dba4c752
parentffa547ef60b5d21b29e814945518c74d17e75742
libphobos: core.atomic should have fallback when there's no libatomic.

libphobos/ChangeLog:

2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/89293
* libdruntime/core/atomic.d (casImpl): Remove static assert for
GNU_Have_Atomics, add static path to handle missing atomic support.
(atomicLoad): Likewise.
(atomicStore): Likewise.
(atomicFence):  Likewise.
(atomicMutexHandle, AtomicMutex): Declare types.
(_getAtomicMutex): New function.
(getAtomicMutex): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270470 138bc75d-0d04-0410-961f-82ee72b054a4
libphobos/ChangeLog
libphobos/libdruntime/core/atomic.d