logoalt Hacker News

charleslmungeryesterday at 3:41 PM1 replyview on HN

Wouldn't that make a compiler that emitted bounds checks violate the standard, since it would not be emitting the actual memory operations if you deref out of bounds?


Replies

marcosdumayyesterday at 4:55 PM

No, because it's UB so there is no standard.