https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106935
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> --- This ICE no longer happens with GCC 13, in fact after r13-4240-gfeeb0d68f1c708 (Martin Jambor: ipa-cp: Do not consider useless aggregate constants). From the patch description, it does not look to be a fix of the underlying issue.