https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64374
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It can't have the same resolution though, that PR was resolved by not streaming the target nodes at all for offloading. In this case there is no offloading. If flag_pic is recorded somewhere in target node (where, x86_isa_flags, somewhere else?), then supposedly during LTO reading that should be updated from global flag_pic. I think it doesn't make sense to have flag_pic only in some routines and not in others, so flag_pic should be treated as a global flag.