diff options
| author | Martin Sebor <msebor@redhat.com> | 2017-02-14 16:51:24 +0000 |
|---|---|---|
| committer | Martin Sebor <msebor@gcc.gnu.org> | 2017-02-14 09:51:24 -0700 |
| commit | bf00c9e08002fcb36d8b61d2e2a47801ef11c2f1 (patch) | |
| tree | baaafc5e87557d7dd732a8365ba695cd92a0b830 /libcpp/errors.c | |
| parent | 355930ab262ceeb4dec0dd1094fd1dee8d9186c6 (diff) | |
| download | gcc-bf00c9e08002fcb36d8b61d2e2a47801ef11c2f1.zip gcc-bf00c9e08002fcb36d8b61d2e2a47801ef11c2f1.tar.gz gcc-bf00c9e08002fcb36d8b61d2e2a47801ef11c2f1.tar.bz2 | |
PR middle-end/79448 - unhelpful -Wformat-truncation=2 warning
gcc/testsuite/ChangeLog:
PR middle-end/79448
* gcc.dg/tree-ssa/builtin-snprintf-warn-3.c: New test.
* gcc.dg/tree-ssa/pr79448-2.c: New test.
* gcc.dg/tree-ssa/pr79448.c: New test.
gcc/ChangeLog:
PR middle-end/79448
* gimple-ssa-sprintf.c (format_directive): Avoid issuing INT_MAX
warning for strings of unknown length.
From-SVN: r245437
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions
