repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
declare-simd-1.f90
blob
d6ae7c9c8126e02aa88438087f8a43385f38d7f8
1
! { dg-do compile }
2
3
subroutine
fn1
(
x
)
4
integer
::
x
5
!$omp declare simd (fn1) inbranch notinbranch uniform (x) ! { dg-error "Unclassifiable OpenMP directive" }
6
end subroutine
fn1
7
subroutine
fn2
(
x
)
8
!$omp declare simd (fn100) ! { dg-error "should refer to containing procedure" }
9
end subroutine
fn2