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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
graphite
/
pr83887.f
blob
f6672224907f397dcc81237c01ed0016ab4bab74
1
! {
dg
-
do
compile
}
2
! {
dg
-
options
"-O2 -floop-nest-optimize"
}
3
SUBROUTINE
STONG
(
IGAUSS
)
4
DIMENSION
EXX
(
6
)
5
PARAMETER
(
MXSH
=
1000
,
MXGTOT
=
5000
)
6
COMMON
/
NSHEL
/
EX
(
MXGTOT
),
CS
(
MXGTOT
),
NSHELL
7
100
CONTINUE
8
NSHELL
=
NSHELL
+
1
9
IF
(
NSHELL
.
GT
.
MXSH
)
THEN
10
RETURN
11
END IF
12
DO
320
I
=
1
,
IGAUSS
13
K
=
K1
+
I
-
1
14
EX
(
K
) =
EXX
(
I
)*
SCALE
15
320
CONTINUE
16
IF
(
TNORM
.
GT
.
TOLNRM
)
THEN
17
STOP
18
END IF
19
DO
460
IG
=
K1
,
K2
20
CS
(
IG
) =
FACS*CS
(
IG
)
21
460
CONTINUE
22
GO TO
100
23
END