On Thu, Aug 08, 2019 at 03:30:55AM -0300, Alexandre Oliva wrote: > rand is in ISO C, whereas random is only in POSIX, so it makes sense > to use the more portable function everywhere instead of falling back > from one to the other on systems that miss the less portable one. > > Tested on x86_64-linux-gnu, native and cross to ppc. Ok to install? > > > for gcc/testsuite/ChangeLog > > * gcc.target/i386/sse2-mul-1.c: Use rand. Drop fallback. > * gcc.target/i386/sse4_1-blendps-2.c: Likewise. > * gcc.target/i386/sse4_1-blendps.c: Likewise. > * gcc.target/i386/xop-vshift-1.c: Likewise. > * gcc.target/powerpc/direct-move.h: Likewise.
Okay for the powerpc part. Thanks, Segher