https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95320
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Forgot to mention: That's still the cc1 compiler (libexec/gcc/x86_64-none-linux-gnu/11.0.0/cc1) not yet an offloading LTO. The problem seems to be the followingat ipa-utils.h:246: /* We do not have this information when not in LTO, but we do not need to care, since it is used only for type merging. */ gcc_checking_assert (in_lto_p || flag_lto); Here, we do not compile with LTO but write LTO for offloading. That code is called by local_tree_p which was added by r11-525-g03d90a20a1afcbb9c30da8d4adf4922b0685061f , Honza's "Avoid SCC hashing on unmergeable trees" patch of May 20, 2020.