Hi,
gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c randomly fails on Linux/ia32.
I think it's because I forgot to initialize the output array.
Tested on x86_64-suse-linux. Committed as obvious.
Ira
testsuite/ChangeLog:
PR testsuite/49239
* gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c: Initialize the
output array.
Index: testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c
===================================================================
--- testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c (revision
174467)
+++ testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c (working
copy)
@@ -25,6 +25,19 @@
s res[N];
unsigned char x;
+ for (i = 0; i < N; i++)
+ {
+ res[i].a = 0;
+ res[i].b = 0;
+ res[i].c = 0;
+ res[i].d = 0;
+ res[i].e = 0;
+ res[i].f = 0;
+ res[i].g = 0;
+ res[i].h = 0;
+ __asm__ volatile ("");
+ }
+
/* Check peeling for gaps for unknown loop bound. */
for (i = 0; i < n; i++)
{