]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix omp target issue with Fortran optional arguments
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 2019 10:33:42 +0000 (10:33 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 2019 10:33:42 +0000 (10:33 +0000)
commit13d9287f6912d452e7ea1de2668b2d24d079cf91
tree4059685457e50ba972a2fc329e18d9e2a647346d
parent0f0380a5c09eb81aff210fa812618073085b2a58
Fix omp target issue with Fortran optional arguments

        gcc/
        * omp-low.c (lower_omp_target): Dereference optional argument
        to work with the right pointer.

        gcc/testsuite/
        * libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276445 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-1.f90 [new file with mode: 0644]