https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82934
--- Comment #9 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Fri, Dec 08, 2017 at 12:52:31AM +0000, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82934 > > --- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- > On Fri, Dec 08, 2017 at 12:29:50AM +0000, kargl at gcc dot gnu.org wrote: > > > > allocate( character(len=*) :: bar ) > > > > However, the type-spec in the allocate statement does coincide with > > s/does/does not > > > the declaration of a dummy argument, or appear in SELECT TYPE, or > > in the declaration of a named constant. The * cannot appear here. > > > > end subroutine > Is it the weekend yet? :( I don't know how I missed F2008:C631 C631 (R626) A type-param-value in a type-spec shall be an asterisk if and only if each allocate-object is a dummy argument for which the corresponding type parameter is assumed. This is going to make the fix for 83318 real ugly.