OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [reduction2.f90] - Rev 841

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do compile }

subroutine f1
  integer :: i
  i = 0
!$omp parallel reduction (ior:i)
  i = ior (i, 3)
!$omp end parallel
!$omp parallel reduction (ior:i)
  i = ior (i, 16)
!$omp end parallel
end subroutine f1
subroutine f2
  integer :: i
  i = ior (2, 4)
!$omp parallel reduction (ior:i)
  i = ior (i, 3)
!$omp end parallel
end subroutine f2
subroutine f3
  integer :: i
  i = 6
!$omp parallel reduction (ior:i)
  i = ior (i, 3)
!$omp end parallel
end subroutine f3
subroutine f4
  integer :: i, ior
  i = 6
!$omp parallel reduction (ior:i)
  i = ior (i, 3)
!$omp end parallel
end subroutine f4

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.