A BOZ cannot be an actual argument in a subroutine or function reference except those intrinsic function listed in the Fortran standard. The attach patch checks for invalid BOZ. Built and tested on x86_64-*-freebsd. OK to commit? 2019-09-30 Steven G. Kargl PR fortran/91943 * match.c (gfc_match_call): BOZ cannot be an actual argument in a subroutine reference. * resolve.c (resolve_function): BOZ cannot be an actual argument in a function reference. 2019-09-30 Steven G. Kargl PR fortran/91943 gfortran.dg/pr91943.f90 -- Steve