From 5b11971a564ab8a207e0fa416eb9e0424514529e Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Tue, 31 Jan 2017 14:03:56 +0000 Subject: [PATCH] [testsuite] gcc.dg/memcmp-1.c: Fix testcase for newlib. 2017-01-31 Christophe Lyon * gcc.dg/memcmp-1.c (static void test_driver_memcmp): Call rand() instead of random(). From-SVN: r245061 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/memcmp-1.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fef5e87b9af..76835d4ce53 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-31 Christophe Lyon + + * gcc.dg/memcmp-1.c (static void test_driver_memcmp): Call + rand() instead of random(). + 2017-01-30 Aldy Hernandez PR tree-optimization/71691 diff --git a/gcc/testsuite/gcc.dg/memcmp-1.c b/gcc/testsuite/gcc.dg/memcmp-1.c index b4fd780fdd0..828a0caf135 100644 --- a/gcc/testsuite/gcc.dg/memcmp-1.c +++ b/gcc/testsuite/gcc.dg/memcmp-1.c @@ -28,12 +28,12 @@ static void test_driver_memcmp (void (test_memcmp)(const char *, const char *, i for(l=0;l