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

No, because the compiler will not generate code that is consistent in this case.


So? What do you think I'm arguing for here?


There is no standard mapping between "your C code" and "what your computer will do" if your code has undefined behavior. Your compiler will produce some assembly, which you cannot rely on, and that will be "what your hardware does". If that's what you're trying to say I think we agree.




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

Search: