URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [task1.f90] - Rev 276
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }program tasktestuse omp_libinteger :: i, jcommon /tasktest_j/ jj = 0!$omp parallel private (i)i = omp_get_thread_num ()if (i.lt.2) then!$omp task if (.false.) default(firstprivate)call subr (i + 1)!$omp end taskend if!$omp end parallelif (j.gt.0) call abortcontainssubroutine subr (i)use omp_libinteger :: i, jcommon /tasktest_j/ jif (omp_get_thread_num ().ne.(i - 1)) then!$omp atomicj = j + 1end ifend subroutine subrend program tasktest
Go to most recent revision | Compare with Previous | Blame | View Log
