http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50435
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-16 15:53:07 UTC --- > I understand that the loop vectorization somehow worked, so could you please > try the following patch to avoid it: Sorry, but after the patch I still have Running /opt/gcc/work/gcc/testsuite/gcc.dg/vect/vect.exp ... FAIL: gcc.dg/vect/bb-slp-25.c scan-tree-dump-times slp "basic block vectorized using SLP" 1 FAIL: gcc.dg/vect/bb-slp-25.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1 === gcc Summary for unix/-m32 === # of expected passes 4 # of unexpected failures 2 Running target unix/-m64 ... Running /opt/gcc/work/gcc/testsuite/gcc.dg/vect/vect.exp ... FAIL: gcc.dg/vect/bb-slp-25.c scan-tree-dump-times slp "basic block vectorized using SLP" 1 FAIL: gcc.dg/vect/bb-slp-25.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1 === gcc Summary for unix/-m64 === # of expected passes 4 # of unexpected failures 2 === gcc Summary === # of expected passes 8 # of unexpected failures 4 /opt/gcc/build_w/gcc/xgcc version 4.7.0 20110916 (experimental) [trunk revision 178905] (GCC) The loop is not vectorized: /opt/gcc/work/gcc/testsuite/gcc.dg/vect/bb-slp-25.c:12: note: vectorized 0 loops in function. and looking for SLP yields 189: Failed to SLP the basic block. 189: not vectorized: failed to find SLP opportunities in basic block. 43: Failed to SLP the basic block. 43: not vectorized: failed to find SLP opportunities in basic block. 50: Failed to SLP the basic block. 50: not vectorized: failed to find SLP opportunities in basic block.