Commit 64b5ddd7 by Matthew Gretton-Dann Committed by Ramana Radhakrishnan

For Matthew Gretton-Dann

2011-11-22  Matthew Gretton-Dann<matthew.gretton-dann@arm.com>

         * gcc.dg/vshift-1.c (main): Call rand instead of random.
         * gcc.dg/vshift-3.c (main): Likewise.

From-SVN: r181614
parent 50b0b78a
2011-11-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.dg/vshift-1.c (main): Call rand instead of random.
* gcc.dg/vshift-3.c (main): Likewise.
2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
* gcc.dg/tm/20100615.c: Adjust for Darwin tm_clone_table section name.
* gcc.dg/tm/20100615.c: Adjust for Darwin tm_clone_table section name.
2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
......
......@@ -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];
......
......@@ -100,9 +100,9 @@ main ()
for (i = 0; i < N; i++)
{
asm ("");
c[i] = (random () << 1) | (random () & 1);
c[i] = (rand () << 1) | (rand () & 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;
f[i] = d[i];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment