URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [retval2.f90] - Rev 865
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }function f1 ()real :: f1f1 = 6.5call sub1containssubroutine sub1use omp_liblogical :: ll = .false.!$omp parallel firstprivate (f1) num_threads (2) reduction (.or.:l)l = f1 .ne. 6.5if (omp_get_thread_num () .eq. 0) f1 = 8.5if (omp_get_thread_num () .eq. 1) f1 = 14.5!$omp barrierl = l .or. (omp_get_thread_num () .eq. 0 .and. f1 .ne. 8.5)l = l .or. (omp_get_thread_num () .eq. 1 .and. f1 .ne. 14.5)!$omp end parallelif (l) call abortf1 = -2.5end subroutine sub1end function f1real :: f1if (f1 () .ne. -2.5) call abortend
Go to most recent revision | Compare with Previous | Blame | View Log
