http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057
Summary: FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr Target: powerpc*-*-* The test gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c gives XPASS: gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 2 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 Obviously if there are two outer loops vectorized, there cannot be only one vectorized! The following patch fixes the test --- ../_gcc_clean/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c 2007-11-21 20:18:34.000000000 +0100 +++ ../gcc-4.6-work/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c 2010-12-23 22:02:28.000000000 +0100 @@ -71,6 +71,6 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail vect_no_align } } } */ +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail vect_no_align } } } */ +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail { ! vect_no_align } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */