https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907
--- Comment #28 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > We also stream out blocks by: > stream_write_tree_ref (ob, TREE_BLOCK (expr)) > in tree-streamer-out.C, so removing that call will just postpone the problem > to later ICE. Of course we'd remove all the bits that link expressions to their TREE_BLOCK in the LTO machiney, not just this particular call. Otherwise we'll probably be chasing this kind of dangling TREE_BLOCK for a while... unless we resort to kludges like unshare_expr_without_location of course!