[Bug fortran/66679] ICE with class(*) and transfer

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


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

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

$ gfortran --version
GNU Fortran (SUSE Linux) 6.0.0 20160108 (experimental) [trunk revision 232162]


$ gfortran -c pr66679.f90
pr66679.f90:7:0:

   print*, size(transfer(vec(1),[var]))

internal compiler error: tree check: expected record_type or union_type or
qual_union_type, have pointer_type in gfc_class_data_get, at
fortran/trans-expr.c:130


More information about the Gcc-bugs mailing list