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 c/83407] Warn about unsigned size_t underflow


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.

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