* arith.c (gfc_range_check): Fix logic error.