https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992
--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Dec 19, 2018 at 04:06:52PM +0000, gs...@t-online.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 > > --- Comment #2 from G. Steinmetz <gs...@t-online.de> --- > > It should be valid code, just as legal as > > $ cat z3.f90 > subroutine s(x) > class(*), allocatable :: x > allocate (x, source='') > end > > $ cat z4.f90 > subroutine s(x) > class(*), allocatable :: x > allocate (x, source='abc') > end > > $ gfortran-9-20181216 -c z4.f90 Thanks for info. I suppose someday I should learn more about CLASS.