https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88974
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48049 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48049&action=edit gcc10-pr88974.patch Unfortunately, that patch failed bootstrap miserably (e.g. the compiler generated __static_initialization_and_destruction_0 then has UNKNOWN_LOCATION and ICEs because of that). And this updated patch, while it bootstrapped, had quite a few testsuite regressions. So, I'm afraid I don't know where would in some cases the src_loc be preinitialized from earlier and where it wouldn't. Mystery.