annotate libgomp/testsuite/libgomp.c/for-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-additional-options "-std=gnu99" } */
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 extern void abort (void);
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 #define M(x, y, z) O(x, y, z)
kono
parents:
diff changeset
6 #define O(x, y, z) x ## _ ## y ## _ ## z
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 #define F parallel for
kono
parents:
diff changeset
9 #define G pf
kono
parents:
diff changeset
10 #include "for-1.h"
kono
parents:
diff changeset
11 #undef F
kono
parents:
diff changeset
12 #undef G
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 #define F for
kono
parents:
diff changeset
15 #define G f
kono
parents:
diff changeset
16 #include "for-1.h"
kono
parents:
diff changeset
17 #undef F
kono
parents:
diff changeset
18 #undef G
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 int
kono
parents:
diff changeset
21 main ()
kono
parents:
diff changeset
22 {
kono
parents:
diff changeset
23 if (test_pf_static ()
kono
parents:
diff changeset
24 || test_pf_static32 ()
kono
parents:
diff changeset
25 || test_pf_auto ()
kono
parents:
diff changeset
26 || test_pf_guided32 ()
kono
parents:
diff changeset
27 || test_pf_runtime ()
kono
parents:
diff changeset
28 || test_f_static ()
kono
parents:
diff changeset
29 || test_f_static32 ()
kono
parents:
diff changeset
30 || test_f_auto ()
kono
parents:
diff changeset
31 || test_f_guided32 ()
kono
parents:
diff changeset
32 || test_f_runtime ())
kono
parents:
diff changeset
33 abort ();
kono
parents:
diff changeset
34 return 0;
kono
parents:
diff changeset
35 }