https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- -fno-ipa-modref works. I can't diff the dumps because my compilers all work locally but it's probably the IPA fixes I backported that fix it.