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

It isn't; there are very few flags that allow the compiler to perform optimizations not allowed by the language standard. Aliasing is not one of them for any compiler I know of. In fact, there are usually flags to go the opposite direction and assume all pointers alias because so many people write code that violates the standard (and results in GCC optimizing the code to behave differently than the author intended.)


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

Search: