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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
appendix-a
/
a.17.1.f90
blob
8fd600176caccda570051d4975f5bc80921b6ff4
1
! { dg-do compile }
2
SUBROUTINE
A17_1_WRONG
()
3
INTEGER
::
I
4
REAL
::
R
5
EQUIVALENCE
(
I
,
R
)
6
!$OMP PARALLEL
7
!$OMP ATOMIC
8
I
=
I
+
1
9
!$OMP ATOMIC
10
R
=
R
+
1.0
11
! incorrect because I and R reference the same location
12
! but have different types
13
!$OMP END PARALLEL
14
END SUBROUTINE
A17_1_WRONG