https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614
--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 61100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61100&action=edit gcc15-pr119614-lto.patch Even more hacky patch which actually works though. As I haven't figured out how to stream a tree in cgraph_node, this one uses an attribute to store it.