diff options
author | Martin Sebor <msebor@redhat.com> | 2017-08-17 16:50:06 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2017-08-17 10:50:06 -0600 |
commit | 86ef85d3f7e790e2bbace497fe55ca93d99dad32 (patch) | |
tree | 0ac480a59d309d6f4974999384db866f4ad37bbe /gcc/tree-loop-distribution.c | |
parent | f8c770ddb4b5499780a5e2d58c861a9c903cdd29 (diff) | |
download | gcc-86ef85d3f7e790e2bbace497fe55ca93d99dad32.zip gcc-86ef85d3f7e790e2bbace497fe55ca93d99dad32.tar.gz gcc-86ef85d3f7e790e2bbace497fe55ca93d99dad32.tar.bz2 |
PR c/81859 - [8 Regression] valgrind error from warn_about_normalization
gcc/ChangeLog:
PR c/81859
* pretty-print.c (pp_format): Use strnlen in %.*s to avoid reading
past the end of an array.
(test_pp_format): Add test cases.
From-SVN: r251157
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions