Hacker News
new
past
comments
ask
show
jobs
points
by
secondcoming
3 hours ago
|
comments
by
saagarjha
2 minutes ago
|
[-]
The problem is the code unconditionally dereferences the pointer, which would be UB if it was a null pointer. This means it is legal to optimize out any code paths that rely on this, even if they occur earlier in program order.
reply