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
/
pr56015.f90
blob
529be70276232fe92f50c7168d3ec94579c185e0
1
! PR middle-end/56015
2
! { dg-do run }
3
! { dg-options "-Ofast -fno-inline" }
4
5
program
pr56015
6
implicit none
7
complex
*
16
p
(
10
)
8
p
(:) = (
0.1d0
,
0.2d0
)
9
p
(:) = (
0.0d0
,
1.0d0
) *
p
(:)
10
call
foo
(
p
)
11
contains
12
subroutine
foo
(
p
)
13
complex
*
16
p
(
10
)
14
if
(
any
(
p
.
ne
. (-
0.2d0
,
0.1d0
)))
STOP
1
15
end subroutine
16
end program
pr56015