https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70257
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #2) > I think this is a dup of bug 79106. > ...or possibly the other way around? Since that one is newer... > The caret line is printed by reopening the file and counting 3 lines because > the line directive is believed by GCC to point to the actual source code.