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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
ichar_3.f90
blob
d0f5c8b8cf815f4fbb756eb94c898f1f9c19afb5
1
! { dg-do compile }
2
!
3
! PR fortran/59599
4
! The call to ichar was triggering an ICE.
5
!
6
! Original testcase from Fran Martinez Fadrique <fmartinez@gmv.com>
7
8
character
(
1
)
cpk
(
2
)
9
integer
res
(
2
)
10
cpk
=
'a'
11
res
=
ichar
(
cpk
,
kind
=
1
)
12
print
*,
ichar
(
cpk
,
kind
=
1
)
13
end