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
/
no_range_check_3.f90
blob
ffab312380a23d78c202a401567555ac6fd27f9c
1
! { dg-do run }
2
! { dg-options "-fno-range-check" }
3
program
test
4
integer
::
i
5
i
=
int
(
z
'FFFFFFFF'
,
kind
(
i
))
6
if
(
i
/= -
1
)
STOP
1
7
if
(
int
(
z
'FFFFFFFF'
,
kind
(
i
)) /= -
1
)
STOP
2
8
9
if
(
popcnt
(
int
(
z
'0F00F00080000001'
,
8
)) /=
10
)
STOP
3
10
if
(
popcnt
(
int
(
z
'800F0001'
,
4
)) /=
6
)
STOP
4
11
12
end program
test