diagnostic-show-locus.c
23.5 KB
-
PR diagnostic/68899: fix read-beyond-buffer when printing very wide source lines · 83eb5a03
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
David Malcolm committed