Hello,understanding the testsuite is hard, but this patch seems to work. The idea is that vect_double and others don't tell that vectors are supported with these options, just that there exist options that enable vectors. They are thus useless outside of a directory like vect/ that adds those flags.
2012-10-11 Marc Glisse <marc.gli...@inria.fr> PR testsuite/54868 * gcc.dg/tree-ssa/forwprop-22.c: Move ... * gcc.dg/vect/nodump-forwprop-22.c: ... here. Adapt options. -- Marc Glisse
Index: gcc.dg/vect/nodump-forwprop-22.c =================================================================== --- gcc.dg/vect/nodump-forwprop-22.c (revision 192348) +++ gcc.dg/vect/nodump-forwprop-22.c (working copy) @@ -1,14 +1,14 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_double } */ /* { dg-require-effective-target vect_perm } */ -/* { dg-options "-O -fdump-tree-copyprop1" } */ +/* { dg-additional-options "-fdump-tree-copyprop1" } */ typedef double vec __attribute__((vector_size (2 * sizeof (double)))); void f (vec *px, vec *y, vec *z) { vec x = *px; vec t1 = { x[1], x[0] }; vec t2 = { x[0], x[1] }; *y = t1; *z = t2; }