Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/nestedfn3.f90 @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | a06113de4d67 |
children | 84e7813d76e9 |
line wrap: on
line source
! PR middle-end/28790 ! { dg-do run } program nestomp integer :: j j = 8 call bar if (j.ne.10) call abort contains subroutine foo (i) integer :: i !$omp atomic j = j + i - 5 end subroutine subroutine bar use omp_lib integer :: i i = 6 call omp_set_dynamic (.false.) !$omp parallel num_threads (2) call foo(i) !$omp end parallel end subroutine end