https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187
--- Comment #47 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Created attachment 53361 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53361&action=edit Possible patch A slightly more thorough attempt to avoid the problem by detecting when the alias sets are known to conflict. We track through the list of same values that CSELIB has recorded to find one that writes the same location (because the addresses are considered equal).