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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
allocate_alloc_opt_7.f90
blob
e77f6b7c6380b56a508c6f3ad165eb35646aa346
1
! { dg-do compile }
2
!
3
! PR 44207: ICE with ALLOCATABLE components and SOURCE
4
!
5
! Contributed by Hans-Werner Boschmann <boschmann@tp1.physik.uni-siegen.de>
6
7
program
ice_prog
8
9
type
::
ice_type
10
integer
,
dimension
(:),
allocatable
::
list
11
end type
ice_type
12
13
type
(
ice_type
)::
this
14
integer
::
dim
=
10
,
i
15
16
allocate
(
this
%
list
(
dim
),
source
=[(
i
,
i
=
1
,
dim
)])
17
18
end program
ice_prog