[Bug c/60220] Vectorization : simple loop : fails to vectorize

2014-02-17 Thread harmeeksingh at gmail dot com
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

[Bug c/60220] Vectorization : simple loop : fails to vectorize

2014-02-17 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60220 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/60220] Vectorization : simple loop : fails to vectorize

2014-02-15 Thread pinskia at gcc dot gnu.org
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.