diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-12-11 15:08:07 +0100 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-12-11 15:08:07 +0100 |
commit | 2505a8b41d3b74a545755a278f3750a29c1340b6 (patch) | |
tree | 2f6738030b69e2af926c979d369c5caded418c3f /libgomp | |
parent | 8d2e5ad7f1723c9125c2d511c281b4fe62ff29cd (diff) | |
download | gcc-2505a8b41d3b74a545755a278f3750a29c1340b6.zip gcc-2505a8b41d3b74a545755a278f3750a29c1340b6.tar.gz gcc-2505a8b41d3b74a545755a278f3750a29c1340b6.tar.bz2 |
OpenMP: Minor '!$omp allocators' cleanup
gcc/fortran/ChangeLog:
* trans-openmp.cc (gfc_omp_call_add_alloc,
gfc_omp_call_is_alloc): Set 'fn spec'.
libgomp/ChangeLog:
* libgomp_g.h (GOMP_add_alloc, GOMP_is_alloc): Add.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/libgomp_g.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h index 9504631..ec619f2 100644 --- a/libgomp/libgomp_g.h +++ b/libgomp/libgomp_g.h @@ -366,6 +366,9 @@ extern void GOMP_teams_reg (void (*) (void *), void *, unsigned, unsigned, /* allocator.c */ +extern void GOMP_add_alloc (void *); +extern bool GOMP_is_alloc (void *); + extern void *GOMP_alloc (size_t, size_t, uintptr_t); extern void GOMP_free (void *, uintptr_t); |