[Bug fortran/82970] ICE in vptr_field_get, at fortran/trans-expr.c:264

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Nov 13 17:32:00 GMT 2017


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

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

This variant compiles, of course :


$ cat z3.f90
program p
   type t
   end type
   class(t), allocatable :: x(:)[:]
   class(t), allocatable :: z(:)
   allocate (x(2)[*])
   allocate (z, source=x)
end


More information about the Gcc-bugs mailing list