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

--- Comment #9 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, Feb 09, 2018 at 01:52:03PM +0000, mecej4 at outlook dot com wrote:
> (In reply to Steve Kargl from comment #7)
> > Ugh.  Statement functions should be removed from the Standard.
> > The simply fix, of course, does not work if someone is clever
> > and uses keywords in a reference that involves a statement
> > function.
> > 
> > ...
> >       w = qofs(i = i, s = hh)
> > ...
> 
> Keyword argument lists are not allowed for statement functions, are they? I
> realize that the compiler will have to detect and flag attempts to use keyword
> arguments as disallowed, but no code generation is needed.
> 

I cannot find a prohibition in F2018 standard.
AFAICT, gfortran always supported keywords, and
I've developed a patch to retain that behavior.

Reply via email to