[Bug fortran/69418] ICE: tree check: expected record_type ... in gfc_class_vptr_get, at fortran/trans-expr.c:149

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Thu Jan 21 19:34:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Compiles when relaxing source to mold :

$ cat z2.f90
subroutine s(x)
   class(*) :: x[*]
   class(*), allocatable :: z
   allocate (z, mold=x)
end

$ gfortran-6 -fcoarray=single -c z2.f90


More information about the Gcc-bugs mailing list