http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60220
--- Comment #3 from harmeeksingh at gmail dot com ---
It still does not vectorise after adding the recomended flag. But rewriting the
code the following way does.
This is a bizare behavioir . My tests show that this is not an issue of gcc
rewriti
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60220
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60220
--- Comment #1 from Andrew Pinski ---
In GCC 4.9 (maybe even in 4.8), the loop is converted into memset by the time
the vectorizer gets around to the code.