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

Argh, this is annoying indeed. And yes, compiler is correct not to autovectorize in this case then.


Why?


Different integer wrapping semantics I assume.


I wonder, though, because signed overflow is already undefined in C. The compiler could do anything there and call it correct.




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

Search: