https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89293

--- Comment #1 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Sat Apr 20 17:14:50 2019
New Revision: 270470

URL: https://gcc.gnu.org/viewcvs?rev=270470&root=gcc&view=rev
Log:
libphobos: core.atomic should have fallback when there's no libatomic.

libphobos/ChangeLog:

2019-04-20  Iain Buclaw  <ibuc...@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.

Modified:
    trunk/libphobos/ChangeLog
    trunk/libphobos/libdruntime/core/atomic.d

Reply via email to