Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/pr32550.f90 @ 48:9907f3135723
update CbC on GCC from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:48:31 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
line wrap: on
line source
! PR fortran/32550 ! { dg-do run } ! { dg-options "-static-libgcc" { target *-*-darwin* } } integer, pointer, save :: ptr integer, target :: targ integer :: e !$omp threadprivate(ptr) e = 0 targ = 42 !$omp parallel shared(targ) !$omp single ptr => targ !$omp end single copyprivate(ptr) if (ptr.ne.42) then !$omp atomic e = e + 1 end if !$omp end parallel if (e.ne.0) call abort end