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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
dependency_46.f90
blob
28942a80769bd4fb95f8224c63d268d858812b31
1
! { dg-do compile }
2
! PR 71783 - this used to ICE due to a missing charlen for the temporary.
3
! Test case by Toon Moene.
4
5
SUBROUTINE
prtdata
(
ilen
)
6
INTEGER
::
ilen
7
character
(
len
=
ilen
),
allocatable
::
cline
(:)
8
allocate
(
cline
(
2
))
9
cline
(
1
) =
'a'
10
cline
(
2
) =
cline
(
1
)
11
END SUBROUTINE
prtdata