https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81668
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Problem is that we do not have location info that would say us the origin. I have sent patch to add location info into TRANSLATION_UNIT_DECL some time ago (at least a year) but I do not think it was approved.