[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 --- Comment #8 from Julien ÉLIE --- "I do agree that the warning in this case is too difficult to deal with and should be adjusted so I'm going to confirm this report on that basis." FWIW, the same warning is still present in GCC 10.2.1.

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2021-11-21 Thread julien at trigofacile dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 --- Comment #7 from Julien ÉLIE --- *** Bug 103352 has been marked as a duplicate of this bug. ***

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2017-11-21 Thread julien at trigofacile dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 --- Comment #6 from Julien ÉLIE --- Many thanks for your kind explanation, Martin. Perfectly understood.

[Bug c/83011] -Wformat-truncation=2 difficult to avoid for non-constant bounds

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83011 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW Summary|-Wformat-truncatio