2017-01-31 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.dg/memcmp-1.c (static void test_driver_memcmp): Call
rand() instead of random().
From-SVN: r245061
+2017-01-31 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.dg/memcmp-1.c (static void test_driver_memcmp): Call
+ rand() instead of random().
+
2017-01-30 Aldy Hernandez <aldyh@redhat.com>
PR tree-optimization/71691
for(l=0;l<sz;l++) {
for(i=0;i<NRAND/sz;i++) {
for(j=0;j<l;j++) {
- buf1[j] = random() & 0xff;
+ buf1[j] = rand() & 0xff;
buf2[j] = buf1[j];
}
for(j=l;j<sz;j++) {
- buf1[j] = random() & 0xff;
- buf2[j] = random() & 0xff;
+ buf1[j] = rand() & 0xff;
+ buf2[j] = rand() & 0xff;
}
}
e = lib_memcmp(buf1,buf2,sz);