The cross-reference listing for the source file
subroutine sub(job)
implicit none
integer, intent(in) :: job
logical :: cb, cr, cqy, cqty, cxb
!
cqy = job/10000 /= 0
cqty = MOD(job,10000) /= 0
cb = MOD(job,1000)/100 /= 0
cr = MOD(job,100)/10 /= 0
cxb = MOD(job,10) /= 0
print *,cqy,cqty,cb,cr,cxb
return
end subroutine
incorrectly lists the type of the intrinsic function MOD as 'double precision', even though both the arguments to MOD are of type integer:
DOUBLE PRECISION, PURE, ELEMENTAL :: FUNCTION MOD
7, 8, 9, 10
I think that the error as to the type is only in the listing and not in the compiled code.