aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr60909-2.c
blob: dd356685ba90a0e7f92cefaf14a2d11c46bfb5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-mrdseed" } */

extern void bar (int);

void
foo (unsigned *u)
{
  int i = __builtin_ia32_rdseed_si_step (u);
  bar (i);
}