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
/
exponent_2.f90
blob
97569dadd472591a4f54f34d54f3287707c22611
1
! { dg-do run }
2
! { dg-options "-fdefault-integer-8" }
3
! PR fortran/32942
4
! Testcase contributed by Dominique d'Humieres <dominiq@lps.ens.fr>.
5
integer
i
6
real
x
7
x
=
3.0
8
if
(
2
/=
exponent
(
x
))
STOP
1
9
i
=
exponent
(
x
)
10
if
(
i
/=
2
)
STOP
2
11
end