https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68439
Bug ID: 68439
Summary: ICE in
alloc_scalar_allocatable_for_subcomponent_assignment,
at fortran/trans-expr.c:6711
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
One dedicated case and error message. Issue related with pr68225.
$ cat z1.f90
program p
type t
integer :: a
character(:), allocatable :: c
end type
type(t) :: x
x = t(a=1)
end
$ gfortran -g -O0 -Wall -fcheck=all -c z1.f90
z1.f90:7:0:
x = t(a=1)
1
internal compiler error: in
alloc_scalar_allocatable_for_subcomponent_assignment, at
fortran/trans-expr.c:6711