https://sourceware.org/bugzilla/show_bug.cgi?id=26777
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-10-26 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 CC| |hjl.tools at gmail dot com --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Works for me with GCC 11.0.0 20201024 and binutils master branch. Please try binutils master branch with commit ae9d2233e61a98ff8dba56be10219aa5306ffc9a Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Oct 26 06:16:08 2020 -0700 gas: Clear all auto-assigned file slots Since a file slot is auto-assigned for the #APP marker appeared before the first .file <NUMBER> directive has been seen, clear all auto-assigned file slots when seeing the first .file <NUMBER> directive. PR gas/26778 * * dwarf2dbg.c (num_of_auto_assigned): New. (allocate_filenum): Increment num_of_auto_assigned. (dwarf2_directive_filename): Clear the slots auto-assigned before the first .file <NUMBER> directive was seen. * testsuite/gas/i386/dwarf4-line-1.d: New file. * testsuite/gas/i386/dwarf4-line-1.s: Likewise. * testsuite/gas/i386/i386.exp: Run dwarf4-line-1. -- You are receiving this mail because: You are on the CC list for the bug.