* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr32482.c
blob9f0e3bfeb9cba71d1fe028d46a0a8d07b5ba8c08
1 typedef struct { unsigned long bits[((((1 << 0))+32 -1)/32)]; } nodemask_t;
2 static inline __attribute__((always_inline))
3 int bitmap_empty(const unsigned long *src, int nbits)
5 return ! (*src & ( ((nbits) % 32) ? (1UL<<((nbits) % 32))-1 : ~0UL ));
7 static inline __attribute__((always_inline))
8 int __nodes_empty(const nodemask_t *srcp, int nbits)
10 return bitmap_empty(srcp->bits, nbits);
12 extern nodemask_t node_online_map;
13 void drain_array(void);
14 void drain_cpu_caches(void)
16 int node;
17 if (!__nodes_empty(&(node_online_map), (1 << 0)))
18 for (((node)) = 0; ((node)) < 1; ((node))++)
21 if (!__nodes_empty(&(node_online_map), (1 << 0)))
22 drain_array();