[Bug tree-optimization/49773] use of class data members prevent vectorization

vincenzo.innocente at cern dot ch gcc-bugzilla@gcc.gnu.org
Mon Jul 18 14:11:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49773

--- Comment #1 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-07-18 14:11:11 UTC ---
I just upgraded to

c++ -v
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.8.0/4.7.0/lto-wrapper
Target: x86_64-apple-darwin10.8.0
Configured with: ./configure --enable-languages=c,c++,fortran --enable-lto
--with-build-config=bootstrap-lto CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden'
Thread model: posix
gcc version 4.7.0 20110716 (experimental) (GCC) 

and it seem to vectorize fine…
was stil not ok in gcc version 4.7.0 20110702 (experimental) (GCC) 


it still pretends to check for
test/vectClass.cpp:11: note: Detected interleaving this_9(D)->a and
this_9(D)->b
test/vectClass.cpp:11: note: versioning for alias required: can't determine
dependence between this_9(D)->a and *D.1537_8
test/vectClass.cpp:11: note: mark for run-time aliasing test between
this_9(D)->a and *D.1537_8
test/vectClass.cpp:11: note: versioning for alias required: can't determine
dependence between this_9(D)->b and *D.1537_8
test/vectClass.cpp:11: note: mark for run-time aliasing test between
this_9(D)->b and *D.1537_8

I hope it will be addressed in PR49774



More information about the Gcc-bugs mailing list