https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66012
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- In GIMPLE that masking is generally useless though, you shift the bits away, and without the extra BIT_AND_EXPR the expression is more canonical and shorter. So, supposedly during expansion or combine you could figure this from the left shift with large shift count.