[Bug fortran/78686] ICE in gfc_apply_init, at fortran/expr.c:4124

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Dec 5 17:24:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---

Whereas, for example with "real" :


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


$ gfortran-7-20161204 z2.f90
z2.f90:3:20:

       real :: c(1) = [t()]
                    1
Error: Can't convert TYPE(t) to REAL(4) at (1)


More information about the Gcc-bugs mailing list