This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/68656] [4.9/5/6 Regression] warning about disabled var-tracking uses odd location info


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]