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/] [omp_atomic1.f90] - Rev 273
Compare with Previous | Blame | View Log
! { dg-do run }integer (kind = 4) :: ainteger (kind = 2) :: breal :: c, fdouble precision :: dinteger, dimension (10) :: ea = 1b = 2c = 3d = 4e = 5f = 6!$omp atomica = a + 4!$omp atomicb = 4 - b!$omp atomicc = c * 2!$omp atomicd = 2 / dif (a .ne. 5 .or. b .ne. 2 .or. c .ne. 6 .or. d .ne. 0.5) call abortd = 1.2!$omp atomica = a + c + d!$omp atomicb = b - (a + c + d)if (a .ne. 12 .or. b .ne. -17) call abort!$omp atomica = c + d + a!$omp atomicb = a + c + d - bif (a .ne. 19 .or. b .ne. 43) call abort!$omp atomicb = (a + c + d) - ba = 32!$omp atomica = a / 3.4if (a .ne. 9 .or. b .ne. -16) call abortend
