https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108905
--- Comment #2 from Lev Veyde <lveyde at redhat dot com> --- So the incorrect filename and line comes from not setting it properly in inline assembly the macro resolves to? So it's basically an issue in the Linux kernel source code? I tried to add .line to the inline assembly code and it didn't really had any effect on the compiled kernel, as far as debugging info for the symbol is concerned. However I'm not 100% certain that I did it correctly.