This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]