re PR fortran/78798 ([cleanup] some int-valued functions should be bool)