https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88112
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- (> So short of avoiding the streaming of trees that are only targets > of abstract origins (the idea of streaming those as references to > DIEs rather than references to trees) a pragmatic "fix" is to > simply allow CALL_EXPRs to be streamed which fixes this testcase This sounds heavy though. If the C++ front-end cannot be changed to resetting the problematic size expressions, then maybe restrict your PR lto/87229 change to local types.