[ICE] allocate on assignment inside TBP
bd satish
bdsatish@gmail.com
Mon Dec 12 16:46:00 GMT 2011
Hi,
The following program crashes with an ICE in gfc_get_derived_type, at
fortran/trans-types.c:2401
Occurs with 4.7 latest snapshot as well as 4.6.3 on Debian x86_64.
I'm not sure if this bug has been reported.
module build_m
type, public :: compiler_t
character(len=:), allocatable :: cmd
contains
procedure, public :: set
end type compiler_t
contains
subroutine set(self, cmd)
class(compiler_t), intent(out) :: self
character(len=*), intent(in) :: cmd
self%cmd = cmd
end subroutine set
end module build_m
-- Satish.BD
More information about the Fortran
mailing list