On Tue, Feb 15, 2022 at 06:01:09PM +0100, Tobias Burnus wrote:
> OK?
Ok.
> Fortran/OpenMP: Fix depend-clause handling for c_ptr
>
> gcc/fortran/ChangeLog:
>
> * trans-openmp.cc (gfc_trans_omp_depobj): Fix to alloc/ptr dummy
> and for c_ptr.
>
> gcc/testsuite/ChangeLog:
>
> * gfortran.dg/gomp/depend-4.f90: Add VALUE test, update scan test.
> * gfortran.dg/gomp/depend-5.f90: Fix scan tree for -m32.
> * gfortran.dg/gomp/depend-6.f90: New test.
>
> gcc/fortran/trans-openmp.cc | 7 +-
> gcc/testsuite/gfortran.dg/gomp/depend-4.f90 | 29 +++-
> gcc/testsuite/gfortran.dg/gomp/depend-5.f90 | 12 +-
> gcc/testsuite/gfortran.dg/gomp/depend-6.f90 | 259
> ++++++++++++++++++++++++++++
> 4 files changed, 295 insertions(+), 12 deletions(-)
Jakub