Hacker News new | past | comments | ask | show | jobs | submit login

>so it doesn't really matter if it is optimized away.

There are cases in which the optimization can result in behavior other than segfaulting, see https://research.swtch.com/ub#null




Sure. That's why I said "the behavior you would probably expect", but that isn't necessarily what happens.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: