Avoid is_constant calls in vectorizable_bswap
[official-gcc.git] / libgomp / testsuite / libgomp.c-c++-common / for-1.c
blobd1ebacb988e9a2b8323bda1e0ed4f53a13ebedfd
1 /* { dg-additional-options "-std=gnu99" {target c } } */
3 extern
4 #ifdef __cplusplus
5 "C"
6 #endif
7 void abort (void);
9 #define M(x, y, z) O(x, y, z)
10 #define O(x, y, z) x ## _ ## y ## _ ## z
12 #define F parallel for
13 #define G pf
14 #include "for-1.h"
15 #undef F
16 #undef G
18 #define F for
19 #define G f
20 #include "for-1.h"
21 #undef F
22 #undef G
24 int
25 main ()
27 if (test_pf_static ()
28 || test_pf_static32 ()
29 || test_pf_auto ()
30 || test_pf_guided32 ()
31 || test_pf_runtime ()
32 || test_f_static ()
33 || test_f_static32 ()
34 || test_f_auto ()
35 || test_f_guided32 ()
36 || test_f_runtime ())
37 abort ();
38 return 0;