From: Ira Rosen Date: Tue, 31 May 2011 08:15:25 +0000 (+0000) Subject: re PR testsuite/49239 (Random gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c failure) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bc91385c6421076bda263938f31949b527e5fae;p=gcc.git re PR testsuite/49239 (Random gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c failure) PR testsuite/49239 * gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c: Initialize the output array. From-SVN: r174469 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d9bfc914011..3f7b52abf18 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-05-31 Ira Rosen + + PR testsuite/49239 + * gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c: Initialize the + output array. + 2011-05-30 Kaz Kojima PR target/49186 diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c index a13bc98ba05..7cfac72d7f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c @@ -25,6 +25,19 @@ main1 (s *arr, int n) 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++) {