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
/
pr48117.f90
blob
bc8ad9bc35eb2b32402ae7fbc8d41063ed77b9bb
1
! PR fortran/48117
2
! { dg-do compile }
3
! { dg-options "-O2 -fopenmp" }
4
5
subroutine
foo
(
x
)
6
character
(
len
=*),
optional
::
x
7
character
(
len
=
80
) ::
v
8
!$omp master
9
if
(
present
(
x
))
v
=
adjustl
(
x
)
10
!$omp end master
11
end subroutine
foo