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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
bounds_check_18.f90
blob
afd0503ef10cf254d4617000d5a017cd19373745
1
! { dg-do compile }
2
program
main
3
implicit none
4
integer
::
n
5
real
,
dimension
(
10
) ::
a
6
n
=
0
7
call
random_number
(
a
)
8
if
(
any
(
a
(
n
+
1
:
n
+
5
) > [
1.0
,
2.0
,
3.0
]))
print
*,
"Hello!"
! { dg-error "not conformable" }
9
end program
main