https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817
--- Comment #5 from Martin Sebor ---
I agree that the text of the warning could be improved. I'm hoping to make
changes along the lines you suggest for GCC 12 (it's too late for GCC 11),
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817
--- Comment #4 from jim at meyering dot net ---
Thanks for explaining. It would be nice if the diagnostic were to say something
along the lines of "... writing into a region whose size may be as low as N".
Given the wording of the current diagnost
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817
--- Comment #2 from Andreas Schwab ---
But when it's 6 it's truncated.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817
--- Comment #1 from jim at meyering dot net ---
I confirmed this happens both with the very latest built from git: gcc version
11.0.0 20201113 (experimental) (GCC), and Fedora 32's gcc version 10.2.1
20201016 (Red Hat 10.2.1-6) (GCC).