[PATCH] PR fortran/84346 -- Keywords invalid in statement functions
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Feb 22 22:43:00 GMT 2018
The attached patch fixes PR fortran/84346. A statement
function always has an implicit interface. The use of
keywords in a function with an implicit interface is
invalid. Regression tested on x86_64-*-freebsd. OK
to commit?
2018-02-22 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/84346
* interface.c (compare_actual_formal): Issue error if keyword is
used in a statement function.
2018-02-22 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/84346
* gfortran.dg/statement_function_1.f90: Update test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr84346.diff
Type: text/x-diff
Size: 1309 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180222/9bb6340f/attachment.bin>
More information about the Fortran
mailing list