[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-08-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 --- Comment #8 from Martin Sebor --- Author: msebor Date: Tue Aug 27 16:18:27 2019 New Revision: 274961 URL: https://gcc.gnu.org/viewcvs?rev=274961=gcc=rev Log: gcc/testsuite/ChangeLog: PR c++/83431 PR testsuite/91562 *

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-08-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-08-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 --- Comment #6 from Martin Sebor --- Author: msebor Date: Mon Aug 26 18:29:45 2019 New Revision: 274933 URL: https://gcc.gnu.org/viewcvs?rev=274933=gcc=rev Log: PR tree-optimization/83431 - -Wformat-truncation may incorrectly report truncation

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-06-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-05-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2019-05-20 Thread mcroce at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 --- Comment #3 from Matteo Croce --- I can reproduce it with this snippet: void f() { const char *dir = "a"; const char file[50] = "b"; char buf[4]; snprintf(buf,

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2017-12-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug c++/83431] -Wformat-truncation may incorrectly report truncation

2017-12-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83431 Martin Sebor changed: What|Removed |Added Keywords||diagnostic