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
/
target3.f90
blob
d968e54453d521416e9d0eef7ab5983cb0f4e9b1
1
! { dg-do compile }
2
3
subroutine
foo
(
r
)
4
integer
::
i
,
r
5
!$omp target
6
!$omp target teams distribute parallel do reduction (+: r) ! { dg-warning ".target. construct inside of .target. region" }
7
do
i
=
1
,
10
8
r
=
r
+
1
9
end do
10
!$omp end target
11
end subroutine