http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57950
--- Comment #12 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #11)
> See the example in the original description.
For the original example, GCC just has to generate this:
# 3 "pr57950.c" 1
foo
# 3 "pr57950.c" 1
foo
to get the correct line numbers.
But the idea of the clang people of integrating the assembler is of course much
superior: you get column numbers + caret + consistent diagnostic format +
colors.
I am quite happy I don't have to use inline-asm with GCC, it doesn't sound fun
at all.