https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122592
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >By comparison, clang recognizes that it doesn't need to mask anything in that >case and produces I mentioned how to solve that in comment #4 but it still requires comment #3 fix first.
