1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Os -fselective-scheduling2 -fsel-sched-pipelining -fprofile-generate" } */
3
4 static inline void
bmp_iter_next(int * bi,int * bit_no)5 bmp_iter_next (int *bi, int *bit_no)
6 {
7 *bi >>= 1;
8 *bit_no += 1;
9 }
10
11 int bmp_iter_set (int *bi, int *bit_no);
12 void bitmap_initialize_stat (int, ...);
13 void bitmap_clear (void);
14
15 void
df_md_alloc(int bi,int bb_index,void * bb_info)16 df_md_alloc (int bi, int bb_index, void *bb_info)
17 {
18 for (; bmp_iter_set (&bi, &bb_index); bmp_iter_next (&bi, &bb_index))
19
20 if (bb_info)
21 bitmap_clear ();
22 else
23 bitmap_initialize_stat (0);
24 }
25