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/] [sharing1.f90] - Rev 438
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }use omp_libinteger :: i, j, klogical :: lcommon /b/ i, ji = 4j = 8l = .false.!$omp parallel private (k) firstprivate (i) shared (j) num_threads (2) &!$omp& reduction (.or.:l)if (i .ne. 4 .or. j .ne. 8) l = .true.!$omp barrierk = omp_get_thread_num ()if (k .eq. 0) theni = 14j = 15end if!$omp barrierif (k .eq. 1) thenif (i .ne. 4 .or. j .ne. 15) l = .true.i = 24j = 25end if!$omp barrierif (j .ne. 25 .or. i .ne. (k * 10 + 14)) l = .true.!$omp end parallelif (l .or. j .ne. 25) call abortend
Go to most recent revision | Compare with Previous | Blame | View Log
