diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/vshift-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vshift-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vshift-1.c b/gcc/testsuite/gcc.dg/vshift-1.c index 2a237aa2bbe..2220ad5a4fd 100644 --- a/gcc/testsuite/gcc.dg/vshift-1.c +++ b/gcc/testsuite/gcc.dg/vshift-1.c @@ -94,10 +94,10 @@ main () for (i = 0; i < N; i++) { asm (""); - c[i] = (random () << 1) | (random () & 1); + c[i] = (rand () << 1) | (rand () & 1); b[i] = (i * 85) & (sizeof (TYPE1) * __CHAR_BIT__ - 1); a[i] = c[i]; - d[i] = (random () << 1) | (random () & 1); + d[i] = (rand () << 1) | (rand () & 1); d[i] |= (unsigned long long) c[i] << 32; e[i] = (i * 85) & (sizeof (TYPE2) * __CHAR_BIT__ - 1); f[i] = d[i]; |