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
tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
pr78298.f90
blob
85955c2015341893a406fd1a77f28d8bf3a1c20d
1
! PR fortran/78298
2
! { dg-do compile }
3
! { dg-additional-options "-O2" }
4
5
program
pr78298
6
integer
::
i
,
j
,
n
7
n
=
2
8
!$omp parallel
9
!$omp do
10
do
i
=
1
,
n
11
!$omp parallel
12
!$omp do
13
do
j
=
1
,
n
14
call
sub
(
i
)
15
end do
16
!$omp end parallel
17
end do
18
!$omp end parallel
19
!call unused()
20
contains
21
subroutine
sub
(
x
)
22
integer
::
x
23
end
24
subroutine
unused
()
25
i
=
0
26
j
=
0
27
end
28
end