Do you have any specific languages in mind?
Hell, rust has had codegen issues because it extensively leveraged features which are almost non-existent in C, and thus were little exercised and poorly tested.
Another thing to watch out for here (especially if anyone's trying to transpile Rust to C) might be C's strict aliasing rules accidentally getting applied to Rust raw pointers.
You're certainly not going to run into LLVM optimizing your bound-check out of existence because it occurs after an overflowing operation.