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

Subversion Repositories openrisc_me

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

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

Line No. Rev Author Line
1 302 jeremybenn
! PR fortran/44036
2
! { dg-do compile }
3
! { dg-options "-fopenmp" }
4
subroutine foo(a, b)
5
  integer, external :: a
6
  integer, external, pointer :: b
7
  integer, external :: c
8
  integer, external, pointer :: d
9
  integer :: x
10
  x = 6
11
!$omp parallel default(none) private (x)
12
  x = a(4)
13
!$omp end parallel
14
!$omp parallel default(none) private (x)        ! { dg-error "enclosing parallel" }
15 378 julius
  x = b(5)                                      ! { dg-error "not specified in" }
16 302 jeremybenn
!$omp end parallel
17
!$omp parallel default(none) private (x)
18
  x = c(6)
19
!$omp end parallel
20
  d => a
21
!$omp parallel default(none) private (x)        ! { dg-error "enclosing parallel" }
22
  x = d(7)                                      ! { dg-error "not specified in" }
23
!$omp end parallel
24
end

powered by: WebSVN 2.1.0

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