|
From: | hjl.tools at gmail dot com |
Subject: | [Bug gas/26740] Extra filename generated by --gdwarf-4 |
Date: | Thu, 15 Oct 2020 22:49:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26740 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.36 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Mark Wielaard from comment #1) > 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. Is this a GCC bug? Even if it is, assembler shouldn't generate bad debug info. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |