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
/
coarray
/
ptr_comp_3.f08
blob
fca6d54a60fd398999a83adedb7732c69c5bf8aa
1
! { dg-do run }
2
3
! Contributed by Damian Rouson
4
! Same like coarray/alloc_comp_4
5
6
program main
7
8
implicit none
9
10
type mytype
11
integer, pointer :: indices(:)
12
end type
13
14
type(mytype), save :: object[*]
15
integer :: me
16
17
me=this_image()
18
allocate(object%indices(me))
19
object%indices = 42
20
21
if ( any( object[me]%indices(:) /= 42 ) ) STOP 1
22
end program