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
2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
rank_4.f90
blob
d09d3fb13373c90a2336c31f616a45c647786afb
1
! { dg-do compile }
2
! { dg-options "-std=f2008ts -fdump-tree-original" }
3
!
4
! PR fortran/48820
5
!
6
7
program
test_rank
8
implicit none
9
intrinsic
::
rank
10
11
integer
::
a
12
real
,
allocatable
::
b
(:,:)
13
14
if
(
rank
(
a
) /=
0
)
call
not_existing
()
15
if
(
rank
(
b
) /=
2
)
call
not_existing
()
16
end program
test_rank
17
18
! { dg-final { scan-tree-dump-times "not_existing" 0 "original" } }