Improve atomic store implementation on hppa-linux.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / parallel-loop-1.c
blob4bc71415688bc0c36a2e3ee347d129a818785ff2
1 /* { dg-do run } */
3 #include <stdlib.h>
5 #define PK parallel
6 #define M(x, y, z) O(x, y, z)
7 #define O(x, y, z) x ## _ ## y ## _ ## z
9 #define F
10 #define G none
11 #define L
12 #include "parallel-loop-1.h"
13 #undef L
14 #undef F
15 #undef G
17 #define F num_gangs (10)
18 #define G gangs
19 #define L gang
20 #include "parallel-loop-1.h"
21 #undef L
22 #undef F
23 #undef G
25 int
26 main ()
28 if (test_none_none ()
29 || test_none_auto ()
30 || test_none_independent ()
31 || test_none_seq ()
32 || test_gangs_none ()
33 || test_gangs_auto ()
34 || test_gangs_independent ()
35 || test_gangs_seq ())
36 abort ();
37 return 0;