https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Any progress on this? Note, the bit_and in there is invalid if prec is not a power of two. Given that % is generally quite expensive, I think it should be (if (single_use (@3) && pow2p_hwi (prec))