https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106015
--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> --- I think we just want to remove the entire section in rs6000_invalid_conversion() that checks the XOmode/OOmode pointer conversions. Doing that fixes the ICE and fixes the PR106015 ICE too. I'm doing a bootstrap and regtest of that patch now.