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
c++: regenerate opt urls
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
pr72744.f90
blob
007bf0e6d5660741751a0306470890777f7e1726
1
! PR fortran/72744
2
! { dg-do compile }
3
! { dg-additional-options "-Ofast" }
4
5
program
pr72744
6
integer
,
parameter
::
n
=
20
7
integer
::
i
,
z
(
n
),
h
(
n
)
8
z
= [(
i
,
i
=
1
,
n
)]
9
h
= [(
i
,
i
=
n
,
1
,-
1
)]
10
call
sub
(
n
,
h
)
11
if
(
any
(
h
/=
z
) )
STOP
1
12
end
13
subroutine
sub
(
n
,
x
)
14
integer
::
n
,
x
(
n
)
15
!$omp parallel
16
x
(:) =
x
(
n
:
1
:-
1
)
17
!$omp end parallel
18
end