https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102932
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Rajpal Singh from comment #3) > Thanks ! Yes, it's signed integer overflow, is there any way to catch it > statically at compile time ? Not really because there would so many false positives, it is not worth the effort.