https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108905
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Debugging information |Debugging information |refers to the wrong file |refers to the wrong file | |with function defined in | |toplevel inline-asm Keywords| |inline-asm Component|c |debug --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC does not generate debug info for top level inline-asm. It is up to the user of such things to do the .line, .file, etc. So I think this is not a bug overall.