iflag: Do the equality test in iflag_cmp() first