diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-12-11 21:09:45 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-01-09 14:13:31 +0100 |
commit | 4784601d726e5b70b6c4e050c77749706536ccf3 (patch) | |
tree | 8b36adcad405d9aaf1687abccf87c33ce43d0770 /gcc/alloc-pool.h | |
parent | 8f987210930e53e6f729d0a84a5fe682aeb74b19 (diff) | |
download | gcc-4784601d726e5b70b6c4e050c77749706536ccf3.zip gcc-4784601d726e5b70b6c4e050c77749706536ccf3.tar.gz gcc-4784601d726e5b70b6c4e050c77749706536ccf3.tar.bz2 |
ada: Add __atomic_store_n binding to System.Atomic_Primitives
This is modeled on the existing binding for __atomic_load_n.
gcc/ada/
* libgnat/s-atopri.ads (Atomic_Store): New generic procedure.
(Atomic_Store_8): New instantiated procedure.
(Atomic_Store_16): Likewise.
(Atomic_Store_32): Likewise.
(Atomic_Store_64): Likewise.
* libgnat/s-atopri__32.ads (Atomic_Store): New generic procedure.
(Atomic_Store_8): New instantiated procedure.
(Atomic_Store_16): Likewise.
(Atomic_Store_32): Likewise.
* gcc-interface/decl.cc (gnat_to_gnu_subprog_type): Implement the
support for __atomic_store_n and __sync_bool_compare_and_swap_n.
* gcc-interface/gigi.h (list_second): New inline function.
Diffstat (limited to 'gcc/alloc-pool.h')
0 files changed, 0 insertions, 0 deletions