[Bug c/47732] counter decremented to zero not detected when other counter overflows

2011-02-15 Thread J.K.Annot.at.Infor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47732 --- Comment #2 from Jan Koen Annot J.K.Annot.at.Infor at gmail dot com 2011-02-15 14:21:16 UTC --- (In reply to comment #1) And overflow is undefined in C/C++ so you are invoking undefined behavior here. Wow! This is an eye-opener for me! I

[Bug c/47732] New: counter decremented to zero not detected when other counter overflows

2011-02-14 Thread J.K.Annot.at.Infor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47732 Summary: counter decremented to zero not detected when other counter overflows Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3