This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/62059] signed integer overflow in diagnostic.c adjust_line
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 17 Aug 2014 16:20:14 +0000
- Subject: [Bug c/62059] signed integer overflow in diagnostic.c adjust_line
- Auto-submitted: auto-generated
- References: <bug-62059-4 at http dot gcc dot gnu dot org/bugzilla/>
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