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
* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
pr72744.f90
blob
e321b6752f94486a7bdadd6687213d92c97c4660
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
) )
call
abort
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