https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82719
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #0)
> While experimenting :
>
>
> $ cat z1.f90
> program p
> type t(a)
> integer, len :: a
> character(len=a) :: c
> end type
> type(t(2)) :: x
>
> x = t(2,'ab')
> print *, x
> end
>
>
> $ gfortran-8-20171022 -c z1.f90
> z1.f90:9:0:
>
> print *, x
>
> internal compiler error: in transfer_expr, at fortran/trans-io.c:2393
> 0x78521e transfer_expr
The hackish patch I added to PR 82720 fixes this as well.