Daily bump.
[official-gcc.git] / libgomp / testsuite / libgomp.c / for-2.c
blobe43fdb3c800221ce67694918ebe277a8ab36c9dd
1 /* { dg-additional-options "-std=gnu99" } */
3 extern void abort (void);
5 #define M(x, y, z) O(x, y, z)
6 #define O(x, y, z) x ## _ ## y ## _ ## z
8 #define F simd
9 #define G simd
10 #define S
11 #define N(x) M(x, G, normal)
12 #include "for-2.h"
13 #undef S
14 #undef N
15 #undef F
16 #undef G
18 #define F parallel for simd
19 #define G pf_simd
20 #include "for-1.h"
21 #undef F
22 #undef G
24 #undef SC
25 #define SC static
26 #define F for simd
27 #define G f_simd
28 #include "for-1.h"
29 #undef F
30 #undef G
31 #undef SC
33 int
34 main ()
36 if (test_simd_normal ()
37 || test_pf_simd_static ()
38 || test_pf_simd_static32 ()
39 || test_pf_simd_auto ()
40 || test_pf_simd_guided32 ()
41 || test_pf_simd_runtime ()
42 || test_f_simd_static ()
43 || test_f_simd_static32 ()
44 || test_f_simd_auto ()
45 || test_f_simd_guided32 ()
46 || test_f_simd_runtime ())
47 abort ();
48 return 0;