On 15.02.22 11:56, Jakub Jelinek wrote: > On Tue, Feb 15, 2022 at 11:26:12AM +0100, Tobias Burnus wrote: >> As found by Marcel, the 'depend' clause was differently handled in >> 'omp depobj(...) depend(...)' and in 'omp task depend(...)'. As Marcel reported, there was still a problem with c_ptr. Looking at the dump, I also spotted that for a nonoptional dummy argument, scalar allocatable/pointers should have a '*' for depobj, which I fixed. I additionally added a VALUE attribute test. I then copied the depend-4.f90 to depend-6.f90 and replaced 'integer' by 'type(c_ptr)' as depend-clause variable (and 'integer(kind=4)' by 'void *' in the expected dump). Otherwise, those two files should be identical. I hope it now works and I did not miss anything in the dump. OK? Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955