[Bug middle-end/79257] spurious -Wformat-overflow=1 warning with -O2 and sanitizer

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 5 01:50:00 GMT 2017


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.


More information about the Gcc-bugs mailing list