http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45884
--- Comment #2 from Anders Jagd 2010-10-04
18:12:16 UTC ---
(In reply to comment #1)
> Signed integer overflow is undefined so what GCC is doing is correct. Use
> -fwarpv if you want it to be defined to wrapping.
I acknowledge that ISO/IEC 9899
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45884
Summary: Incorrect removal of check for "less than zero" after
adding value to (signed) long
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Prior