https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116535
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #7) > We treat first partition somewhat specially in other code too, so I > guess we could a test if the streamed partition is first one instad of > relying on free to happen. The current new code (→ r15-3413-g2fcccf21a34 ) passes the information on via struct lto_out_decl_state. If you think it could be done differently & is cleaner, I am happy to use the 'is first streamed partition' flag, but I didn't see it when I looked for one.