OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr43337.f90] - Blame information for rev 325

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

Line No. Rev Author Line
1 302 jeremybenn
! PR middle-end/43337
2
! { dg-do compile }
3
! { dg-options "-fopenmp -O2 -g" }
4
 
5
subroutine pr43337
6
  integer :: a, b(10)
7
  call foo (b)
8
  call bar (b)
9
contains
10
  subroutine foo (b)
11
    integer :: b(10)
12
!$omp parallel if (.false.)
13
!$omp task if (.false.) shared(b)
14
    do a = 1, 10
15
      b(a) = 1
16
    end do
17
!$omp end task
18
!$omp end parallel
19
  end subroutine foo
20
  subroutine bar (b)
21
    integer :: b(10)
22
!$omp parallel if (.false.)
23
!$omp parallel if (.false.)
24
    do a = 1, 10
25
      b(a) = 1
26
    end do
27
!$omp end parallel
28
!$omp end parallel
29
  end subroutine bar
30
end subroutine pr43337

powered by: WebSVN 2.1.0

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