[PATCH, GCC/ARM, 6/10] Clear GPRs inline when calling nscall function
[official-gcc.git] / gcc / testsuite / gcc.dg / pr45352.c
blob7aeac0da371a041fac543fed992d99e4d062ef17
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Os -fselective-scheduling2 -fsel-sched-pipelining -fprofile-generate" } */
4 static inline void
5 bmp_iter_next (int *bi, int *bit_no)
7 *bi >>= 1;
8 *bit_no += 1;
11 int bmp_iter_set (int *bi, int *bit_no);
12 void bitmap_initialize_stat (int, ...);
13 void bitmap_clear (void);
15 void
16 df_md_alloc (int bi, int bb_index, void *bb_info)
18 for (; bmp_iter_set (&bi, &bb_index); bmp_iter_next (&bi, &bb_index))
20 if (bb_info)
21 bitmap_clear ();
22 else
23 bitmap_initialize_stat (0);