https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68656
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 36914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36914&action=edit gcc6-pr68656.patch Untested fix. That said, I really don't see the regression here, older compilers that didn't support caret diagnostics would just not print the caret, sure, but the location has been always on the first line.