[Bug tree-optimization/60997] -fopenmp conflicts with -floop-interchange

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Apr 29 13:38:00 GMT 2014


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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> IIRC -fopenmp has similar issues for vectorization (it defeats
> points-to analysis)

PR46032?

[Book15] f90/bug% g++ -Ofast pr46032.cpp -fopt-info-vec -fgraphite
-fgraphite-identity -floop-block -floop-flatten -floop-interchange
-floop-strip-mine -ftree-loop-linear -floop-parallelize-all
pr46032.cpp:11:34: note: loop vectorized
[Book15] f90/bug% g++ -Ofast pr46032.cpp -fopt-info-vec -fopenmp -fgraphite
-floop-block -floop-flatten -floop-interchange -floop-strip-mine
-ftree-loop-linear 
pr46032.cpp:11:34: note: loop vectorized
pr46032.cpp:11:34: note: loop versioned for vectorization because of possible
aliasing
pr46032.cpp:11:34: note: loop peeled for vectorization to enhance alignment

but

[Book15] f90/bug% g++ -Ofast pr46032.cpp -fopt-info-vec -fopenmp
-fgraphite-identity
[Book15] f90/bug% g++ -Ofast pr46032.cpp -fopt-info-vec -fopenmp -fgraphite
-floop-block -floop-flatten -floop-interchange -floop-strip-mine
-ftree-loop-linear -floop-parallelize-all
[Book15]



More information about the Gcc-bugs mailing list