This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/79257] spurious -Wformat-overflow=1 warning with -O2 and sanitizer
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Jul 2017 01:49:54 +0000
- Subject: [Bug middle-end/79257] spurious -Wformat-overflow=1 warning with -O2 and sanitizer
- Auto-submitted: auto-generated
- References: <bug-79257-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Pierre Chapuis from comment #5)
That's a different bug, the same one as the root cause behind the false
positive in bug 78969, comment 4. The range information available outside the
VRP pass via get_range_info() is available (unlike in the test case in comment
#0) but it's off by one. It probably deserves a separate bug report, distinct
from both this bug and pr78969, and this one can be resolved as a duplicate of
the latter.