Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / vector-1_x.c
blob29a8170d1843f17ab20b6f1680290333695496d9
1 /* { dg-options "-w" } */
2 /* { dg-options "-w -Wno-psabi" { target { i?86-*-* x86_64-*-* } } } */
4 #ifndef SKIP_ATTRIBUTE
6 #include "compat-common.h"
7 #include "vector-defs.h"
8 #include "vector-setup.h"
10 SETUP (8, qi);
11 SETUP (16, qi);
12 SETUP (32, qi);
13 SETUP (2, hi);
14 SETUP (4, hi);
15 SETUP (8, hi);
16 SETUP (16, hi);
17 SETUP (2, si);
18 SETUP (4, si);
19 SETUP (8, si);
20 SETUP (1, di);
21 SETUP (2, di);
22 SETUP (4, di);
24 #endif
26 void
27 vector_1_x (void)
29 #ifndef SKIP_ATTRIBUTE
30 DEBUG_INIT
32 CHECK (8, qi);
33 CHECK (16, qi);
34 CHECK (32, qi);
35 CHECK (2, hi);
36 CHECK (4, hi);
37 CHECK (8, hi);
38 CHECK (16, hi);
39 CHECK (2, si);
40 CHECK (4, si);
41 CHECK (8, si);
42 CHECK (1, di);
43 CHECK (2, di);
44 CHECK (4, di);
46 DEBUG_FINI
48 if (fails != 0)
49 abort ();
50 #endif