re PR fortran/60289 (allocating class(*) pointer as character gives type-spec…
re PR fortran/60289 (allocating class(*) pointer as character gives type-spec requires the same character-length parameter) PR fortran/60289 Initial patch by Janus Weil * resolve.c (resolve_allocate_expr): Add check for comp. only when target is not unlimited polymorphic. * trans-stmt.c (gfc_trans_allocate): Assign correct value to _len component of unlimited polymorphic entities. * gfortran.dg/unlimited_polymorphic_22.f90: New test. From-SVN: r220474
Showing
Please
register
or
sign in
to comment