https://sourceware.org/bugzilla/show_bug.cgi?id=26740
--- Comment #1 from Mark Wielaard <mark at klomp dot org> --- The issue is that some instructions are emitted (dwarf2_emit_insn is called) before the first .file <NUMBER> directive has been seen. This allocates x.s (the input file) as first file entry. Later when the actual .file 1 lbasename.c and .file 2 safe-ctype are seen the x.s entry is moved to entry 3. We don't record that we never actually use that entry and so we still emit it. -- You are receiving this mail because: You are on the CC list for the bug.