https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467
--- Comment #9 from Jan Hubicka <hubicka at ucw dot cz> --- > > so it's ICFed compare_pairs having modref TBAA info that makes the > stores dead. I suppose ICF needs to reset / alter the modref summaries? Well, matching that ICF does should be enough to verify that modref sumaries are same. Modref only does what would happen after inlining and ICF should be safe WRT both modref and inlining.