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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr108193.f90
blob
3a3655f124807e37857be3158c6e7666fd4cf2c3
1
! PR rtl-optimization/108193
2
! { dg-do compile { target pthread } }
3
! { dg-options "-O2 -fsplit-loops -ftree-parallelize-loops=2 -fno-tree-dominator-opts" }
4
5
subroutine
foo
(
n
,
r
)
6
implicit none
7
integer
::
i
,
j
,
n
8
real
::
s
,
r
(*)
9
10
s
=
0.0
11
12
do
j
=
1
,
2
13
do
i
=
j
,
n
14
s
=
r
(
i
)
15
end do
16
end do
17
18
do
i
=
1
,
n
19
do
j
=
i
,
n
20
s
=
s
+
1
21
end do
22
r
(
i
) =
s
23
end do
24
end subroutine
foo