This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/83407] Warn about unsigned size_t underflow
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Dec 2017 13:08:22 +0000
- Subject: [Bug c/83407] Warn about unsigned size_t underflow
- Auto-submitted: auto-generated
- References: <bug-83407-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83407
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
overflow/underflow for unsigned integer type is well-defined in C so I'm not
sure how we could warn without warning about legit code.