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

It's not, because that relies on actually doing the de-reference. Thanks to UB, that may never actually happen, the code may get removed entirely.



If the code is removed entirely then what memory is being improperly accessed?


It's impossible to tell, as that can cause other issues. See the link I posted about time travel elsewhere in the thread.


The day will come when the compilers that do things like that will be righteously categorized as malware.


The day will come when language specifications that allow compilers to do things like that will be righteously categorized as archaic.




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

Search: