https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- FWIW years ago I posted a patch to generalize libgccjit's location consolidation code so that it could be used by LTO, but IIRC it was rejected. I spent a few minutes looking in the archives but wasn't able to find it.