------- Comment #14 from dominiq at lps dot ens dot fr 2009-06-15 12:36 ------- (In reply to comment #13) > if that still does not fix the problem I will try to add more braces...
I tried several variants that were not working. The following patch works, though I have no idea if it is right: [karma] darwin_buildw/gcc% diff -up /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-42.c /opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/vect/vect-42.c --- /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-42.c 2009-06-05 18:02:02.000000000 +0200 +++ /opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/vect/vect-42.c 2009-06-15 14:17:38.000000000 +0200 @@ -63,7 +63,7 @@ int main (void) } /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ -/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 3 "vect" { target { vect_no_align || { { ! vector_alignment_reachable} && {!vect_hw_misalign} } } } } } */ +/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 3 "vect" { target { vect_no_align || { { ! vector_alignment_reachable } && vect_hw_misalign } } } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 4 "vect" { xfail { { vect_no_align || vect_hw_misalign } || { ! vector_alignment_reachable } } } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail { { vect_no_align || vect_hw_misalign } || { ! vector_alignment_reachable } } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ [karma] darwin_buildw/gcc% make -k check-gcc RUNTESTFLAGS="vect.exp=vect-42.c --target_board=unix'{,-m64}'" ... WARNING: Couldn't find the global config file. Test Run By dominiq on Mon Jun 15 14:17:58 2009 Native configuration is powerpc-apple-darwin9 === gcc tests === Schedule of variations: unix unix/-m64 Running target unix Using /sw/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/gcc-4.5-work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/vect/vect.exp ... === gcc Summary for unix === # of expected passes 5 Running target unix/-m64 Using /sw/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/gcc-4.5-work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/vect/vect.exp ... === gcc Summary for unix/-m64 === # of expected passes 3 # of expected failures 2 === gcc Summary === # of expected passes 8 # of expected failures 2 /opt/gcc/darwin_buildw/gcc/xgcc version 4.5.0 20090614 (experimental) [trunk revision 148466] (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40359