https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103352
Bug ID: 103352
Summary: Wrong computation of -Wformat-truncation=2
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103352
Julien ÉLIE changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
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. ***
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50064
Julien ÉLIE changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82798
--- Comment #5 from Julien ÉLIE ---
Following up on that bug report, I've checked GCC 11 documentation.
Only 3/, part of 5/ (-Wmultistatement-macros) and 6/ have been fixed.
Points 1/, 2/, 4/, part of 5/ (-Wreorder) and 7/ remain.
Thanks beforeha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85619
--- Comment #4 from Julien ÉLIE ---
Following up on that issue. I've just checked against GCC 11 documentation.
The two points are still open.
Thanks beforehand.