https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> --- so void lto_location_cache::input_location_and_block (location_t *loc, tree *block, struct bitpack_d *bp, class lto_input_block *ib, class data_in *data_in); and use that. Should be able to drop stream_input_location_now completely then. In apply location cache then handle the case of NULL and non-NULL block pointers, I think we can mix those freely.