PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vector-5.c
blob5a2870d5b1f0bb6116870938065fd845ecf6eb4f
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
3 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
5 typedef int v4si __attribute__((vector_size(4*sizeof (int))));
7 v4si v;
8 int foo (int i)
10 v4si v1 = (v4si) { i, i, i, i };
11 v4si v2 = (v4si) { 3, 3, 3, 3 };
12 v = v1 * v2;
15 /* The operation should be carried out as scalar op. */
16 /* { dg-final { scan-tree-dump-times " \* 3;" 1 "optimized" } } */