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/71539] incomplete execution of a nested loop for -O2 and -O3


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71539

--- Comment #2 from cubitect at gmail dot com ---
Thank you for the tip! I was unaware that signed integer overflow is undefined
in standard C. I was rewriting some java code in C when I ran into this
problem, so this makes sense now. (Though I still don't see how this caused the
loop to abort prematurely.)

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