This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]