https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88974
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48042 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48042&action=edit gcc10-pr88974.patch Untested fix for that. Or instead set result->src_loc to result->src_loc = pfile->line_table->highest_line; ? Dunno what is better.