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/62059] signed integer overflow in diagnostic.c adjust_line


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62059

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sun Aug 17 16:19:43 2014
New Revision: 214074

URL: https://gcc.gnu.org/viewcvs?rev=214074&root=gcc&view=rev
Log:
    PR c/62059
    * diagnostic.c (adjust_line): Add gcc_checking_assert.
    (diagnostic_show_locus): Don't print caret diagnostic
    if a column is larger than the line_width.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/diagnostic.c


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