]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP/Fortran: Fix has_device_addr clause splitting [PR108558]
authorTobias Burnus <tobias@codesourcery.com>
Fri, 27 Jan 2023 10:32:19 +0000 (11:32 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 30 Jan 2023 08:30:26 +0000 (09:30 +0100)
commit591ec4820aa4e6d757ddc76cae1d92d445daf72c
tree52741a4aca1cd8204c86b7404621f6ba6bb59c33
parent355fe4fa4c53764c09cf72bba1f04926fd489368
OpenMP/Fortran: Fix has_device_addr clause splitting [PR108558]

gcc/fortran/ChangeLog:

PR fortran/108558
* trans-openmp.cc (gfc_split_omp_clauses): Handle has_device_addr.

libgomp/ChangeLog:

PR fortran/108558
* testsuite/libgomp.fortran/has_device_addr.f90: New test.

(cherry picked from commit 2325c8920bbc99edcc9fffaa79577c528df41eb8)
gcc/fortran/trans-openmp.cc
libgomp/testsuite/libgomp.fortran/has_device_addr.f90 [new file with mode: 0644]