]> git.ipfire.org Git - thirdparty/gcc.git/commit
openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc for Fortran
authorTobias Burnus <tobias@codesourcery.com>
Thu, 30 Sep 2021 12:26:46 +0000 (14:26 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 30 Sep 2021 12:26:46 +0000 (14:26 +0200)
commit70de20db232545daa2d6616e3581313476395ea3
treef91f55f51498e8e10767e2f48a1e1244f2560e63
parentc3d11a1e9528b6140c65a66d47225a0b6a8814e0
openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc for Fortran

gcc/ChangeLog:

* omp-low.c (omp_runtime_api_call): Add omp_aligned_{,c}alloc and
omp_{c,re}alloc, fix omp_alloc/omp_free.

libgomp/ChangeLog:

* libgomp.texi (OpenMP 5.1): Set implementation status to Y for
omp_aligned_{,c}alloc and omp_{c,re}alloc routines.
* omp_lib.f90.in (omp_aligned_alloc, omp_aligned_calloc, omp_calloc,
omp_realloc): Add.
* omp_lib.h.in (omp_aligned_alloc, omp_aligned_calloc, omp_calloc,
omp_realloc): Add.
* testsuite/libgomp.fortran/alloc-10.f90: New test.
* testsuite/libgomp.fortran/alloc-6.f90: New test.
* testsuite/libgomp.fortran/alloc-7.c: New test.
* testsuite/libgomp.fortran/alloc-7.f90: New test.
* testsuite/libgomp.fortran/alloc-8.f90: New test.
* testsuite/libgomp.fortran/alloc-9.f90: New test.
gcc/omp-low.c
libgomp/libgomp.texi
libgomp/omp_lib.f90.in
libgomp/omp_lib.h.in
libgomp/testsuite/libgomp.fortran/alloc-10.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/alloc-6.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/alloc-7.c [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/alloc-7.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/alloc-8.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/alloc-9.f90 [new file with mode: 0644]