https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119753
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- IMNSHO it is POSIX that should be fixed. Clearly they've added a requirement there that doesn't match what the compilers actually do (GCC, clang, ICC (both before and after LLVM), nvc++ all do the same). EDG/MSVC on godbolt seems to use #line directives instead of # <linenum> <filename> <flags>.