https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907
--- Comment #27 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Hmm, I can not seem to reproduce it. Basically we need to work out why that expression is streamed. If it is part of function body or part of summary. For summary it may be missing call to unshare_expr_without_location which IPA passes should do when pulling random expressions out of the function bodies.