[Bug fortran/83092] ICE in gfc_apply_init, at fortran/expr.c:4228

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Nov 21 17:58:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83092

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Alternatives :


$ cat z2.f90
program p
   type t
   end type
   type t2
      character :: c(1) = [t()]
   end type
end


$ cat z3.f90
program p
   type t
      integer :: a = 1
      character :: c = t()
   end type
end


$ cat z4.f90
program p
   type t
      integer, allocatable :: a
      character :: c = t()
   end type
end


More information about the Gcc-bugs mailing list