Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/pr27416-1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! PR middle-end/27416 ! { dg-do run } integer :: j j = 6 !$omp parallel num_threads (4) call foo (j) !$omp end parallel if (j.ne.6+16) stop 1 end subroutine foo (j) integer :: i, j !$omp do firstprivate (j) lastprivate (j) do i = 1, 16 if (i.eq.16) j = j + i end do end subroutine foo