The attach patch enforces F2018:C15100. Similar constraints are present in older versions of the standard. The patch and testcase are sufficiently explanatory. Regression tested on x86_64-*-freebsd. OK to commit? 2018-03-11 Steven G. Kargl PR fortran/83939 * resolve.c (resolve_fl_procedure): Enforce F2018:C15100. 2018-03-11 Steven G. Kargl PR fortran/83939 * gfortran.dg/pr83939.f90 -- Steve