https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97541
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Jakub Jelinek from comment #2) > So isn't that yet another thing that needs to be changed/fixed in gas? > Plus on the gcc side add a test for that once it is fixed in binutils? I think this is a GCC bug. We can't assign the same file number to different files: # 82 "s-atocou.adb" 1 ... .file 1 "a-stzunb.adb" This seems to be Ada specific. I can't find a testcase in C nor C++.