https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113907
--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57426 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57426&action=edit gcc14-pr113907.patch I've managed to come up with a small runtime testcase. Now with a patch which does the resetting of SSA_NAME_{PTR,RANGE}_INFO for !flag_wpa in ICF merged functions (in the hope that we regenerate it during vrp1).