PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / nodump-forwprop-22.c
blobed80afbe3b72307e658f44a6493eff28f9863283
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
3 /* { dg-require-effective-target vect_perm } */
4 /* { dg-additional-options "-fdump-tree-cddce1 -fno-tree-fre" } */
6 typedef double vec __attribute__((vector_size (2 * sizeof (double))));
7 void f (vec *px, vec *y, vec *z)
9 vec x = *px;
10 vec t1 = { x[1], x[0] };
11 vec t2 = { x[0], x[1] };
12 *y = t1;
13 *z = t2;
16 /* Optimization in forwprop1, cleanup in cddce1. */
18 /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 1 "cddce1" } } */
19 /* { dg-final { scan-tree-dump-not "BIT_FIELD_REF" "cddce1" } } */