logoalt Hacker News

compiler-guyyesterday at 8:52 PM0 repliesview on HN

The trick here is that the original expression contains undefined behavior. Your example does not.