summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr46521.c
blob: 0c41c4328f88781411d738dfdd06b10bbdec4218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
/* { dg-options "-Os -fselective-scheduling2 -fsel-sched-pipelining -fprofile-generate -fno-early-inlining" } */

static void bmp_iter_next (int *bi)
{
  *bi >>= 1;
}

int bmp_iter_set (int *, int);
void bitmap_clear (void);
void bitmap_initialize_stat (void);

void df_md_alloc (int bi, int bb_index, int bb_info)
{
  for (; bmp_iter_set (&bi, bb_index); bmp_iter_next (&bi))
    if (bb_info)
      bitmap_clear ();
    else
      bitmap_initialize_stat ();
}