Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure what you mean here, if you have a volatile pointer that points to a memory buffer returned by malloc, how can the compiler prevents a write through the pointer from happening?

Edit: unless your point is a temporary copy can be spilled in memory and this copy will stay in memory and won't be overwritten?



Yes, your edit is correct.




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

Search: