1 /* { dg-do compile { target { x86_64-*-* && lp64 } } } */
2 /* { dg-additional-options "-mrdrnd" } */
8 while (! __builtin_ia32_rdrand16_step (&x
))
10 return x
; /* { dg-bogus "uninit" } */
14 hardware_rand32 (void)
17 while (! __builtin_ia32_rdrand32_step (&x
))
19 return x
; /* { dg-bogus "uninit" } */
23 hardware_rand64 (void)
25 unsigned long long int x
;
26 while (! __builtin_ia32_rdrand64_step (&x
))
28 return x
; /* { dg-bogus "uninit" } */