https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 53970 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53970&action=edit patch which handles some parts of the xor in tree-ssa-reassoc.cc This is the patch which I was talking about which is able to handle xor but someone should take it over for GCC 14.