Add compile command to each testcase
[gcc-vect-testsuite.git] / pr40254.c
blobb890a4493120de293ebcdeadd4191363303292b9
1 #include <stdlib.h>
2 #include <stdarg.h>
3 #include "tree-vect.h"
5 struct s
7 int *x;
8 int x1;
9 int x2;
10 int x3;
11 int *y;
14 struct s arr[64] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
16 __attribute__ ((noinline)) void
17 foo (int i, int *in_x, int *in_y)
19 arr[i].x = in_x;
20 arr[i].y = in_y;
23 int
24 main (void)
26 int a, b;
28 check_vect ();
30 foo (5, &a, &b);
32 if (arr[5].x != &a || arr[5].y != &b)
33 abort ();
35 return 0;
38 /* { dg-final { cleanup-tree-dump "vect" } } */