OpenCores
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/] [pr27416-1.f90] - Blame information for rev 280

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

Line No. Rev Author Line
1 273 jeremybenn
! PR middle-end/27416
2
! { dg-do run }
3
 
4
  integer :: j
5
  j = 6
6
!$omp parallel num_threads (4)
7
  call foo (j)
8
!$omp end parallel
9
  if (j.ne.6+16) call abort
10
end
11
 
12
subroutine foo (j)
13
  integer :: i, j
14
 
15
!$omp do firstprivate (j) lastprivate (j)
16
  do i = 1, 16
17
    if (i.eq.16) j = j + i
18
  end do
19
end subroutine foo

powered by: WebSVN 2.1.0

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