diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-01-16 04:38:19 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-01-16 04:38:19 +0000 |
commit | 83eb5a035858bca79d7a8ac589ae5b98fd8467c6 (patch) | |
tree | 45f7f5e67a67ee9f4da14fefddd832d74c8c746c /gcc/multiple_target.c | |
parent | ec7886c19b5853d27c37cfb269f70805e4296231 (diff) | |
download | gcc-83eb5a035858bca79d7a8ac589ae5b98fd8467c6.zip gcc-83eb5a035858bca79d7a8ac589ae5b98fd8467c6.tar.gz gcc-83eb5a035858bca79d7a8ac589ae5b98fd8467c6.tar.bz2 |
PR diagnostic/68899: fix read-beyond-buffer when printing very wide source lines
gcc/ChangeLog:
PR diagnostic/68899
* diagnostic-show-locus.c (layout::print_source_line): Move x
offset of line until after call to
get_line_width_without_trailing_whitespace.
From-SVN: r232465
Diffstat (limited to 'gcc/multiple_target.c')
0 files changed, 0 insertions, 0 deletions