[Bug c++/40927] Code fails to vectorize in g++ but does vectorize in gcc.

2011-11-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40927 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED CC|gcc-bugs at g

[Bug c++/40927] Code fails to vectorize in g++ but does vectorize in gcc.

2009-08-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-08-01 14:58 --- This is because of the differences in the IL C vs. C++. C has r0 = (short unsigned int) *pcr - (short unsigned int) *ppr; r1 = (short unsigned int) *pcg - (short unsigned int) *ppg; r2 = (short unsigned