https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83990
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Comment on attachment 43254 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43254 Lost location fix As use use it multiple time, perhaps do location_t loc = gimple_location (stmt); early and use loc afterwards? Otherwise LGTM.