https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92029
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Just a general comment, what we need to ensure is that the tables contain the same variables in the same order between what we emit on the host and in LTO for the offloading targets. It is fine if we are able to remove some variable as unused before the LTO streaming, as long as we manage to update whatever needs to be to ensure the tables are the same. After the streaming, we can't remove anything mentioned in the tables.