https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112740
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- The issue is the code expects 1-bit masks but doesn't check for it. Of course it would also work for multi-bit masks, not sure if that would ever trigger - maybe for vector lowering code.