2 ms·
edit: oh gosh I totally misread something > Since farPointer.offset is an unsigned number, the compiler is able to conclude that target < segmentStart always e
by banachtarski 10y ago
edit: oh gosh I totally misread something
> Since farPointer.offset is an unsigned number, the compiler is able to conclude that target < segmentStart always evaluates false. Thus, the compiler removes this part of the check. Unfortunately, in the case of overflow, this is exactly the part of the check that we need.
This certainly seems like a compiler bug!