News for hackers. Stuff that matters.
Re:What Every C Programmer Should Know About Undefined Behavior by deaddabe on Wednesday September 08, 2021 @02:04PM (#28460861)
This would make sense, since this type is almost always used for iterations and sizes. Anyways I have played with Compiler Explorer and could not spot the "overflow checks" inside some dumb code: https://godbolt.org/z/4znWG8GoP

Maybe this is because x86_64 instruction set is already wrapping up unsigned integers, and maybe the majority of instruction sets are also.

There are no comments on this comment yet.