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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr30391-1.f90
blob
28ca75427184473025c6c1ba735cc851333927d8
1
! { dg-do compile }
2
! { dg-options "-O1" }
3
SUBROUTINE
check_for_overlap
(
cell_length
)
4
REAL
,
DIMENSION
(
1
:
3
),
INTENT
(
IN
),
OPTIONAL
::
cell_length
5
REAL
,
DIMENSION
(
1
:
3
) ::
abc
,
box_length
6
7
IF
(
PRESENT
(
cell_length
))
THEN
8
box_length
(
1
:
3
)=
abc
(
1
:
3
)
9
ENDIF
10
END SUBROUTINE
check_for_overlap