aboutsummaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-12-11 21:09:45 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-01-09 14:13:31 +0100
commit4784601d726e5b70b6c4e050c77749706536ccf3 (patch)
tree8b36adcad405d9aaf1687abccf87c33ce43d0770 /gcc/alloc-pool.h
parent8f987210930e53e6f729d0a84a5fe682aeb74b19 (diff)
downloadgcc-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