From: Ira Rosen Date: Thu, 26 Jun 2008 06:09:49 +0000 (+0000) Subject: re PR target/36510 (gcc.dg/vect/costmodel/ppc failures) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cdf0bd0cb0ad78e5f2b426eebe62ffa3e83d0e6;p=gcc.git re PR target/36510 (gcc.dg/vect/costmodel/ppc failures) PR target/36510 * gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop bound. * gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c, gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Likewise. From-SVN: r137140 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dc561291140..6a6d1db7e38 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-06-26 Ira Rosen + + PR target/36510 + * gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop + bound. + * gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c, + gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Likewise. + 2008-06-25 Paul Thomas PR fortran/36526 diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c index 3c811f0a4ac..d9ea5d12638 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c @@ -3,7 +3,7 @@ #include #include "../../tree-vect.h" -#define N 32 +#define N 5 struct t{ int k[N]; @@ -17,20 +17,20 @@ struct s{ struct t d; /* aligned (offset 2NB) */ struct t e; /* unaligned (offset 2N+4N+4 B) */ }; - + int main1 () { int i; struct s tmp; /* unaligned */ - for (i = 0; i < N/2; i++) + for (i = 0; i < N; i++) { tmp.e.k[i] = 8; } /* check results: */ - for (i = 0; i #include "../../tree-vect.h" -#define N 20 +#define N 11 struct s{ int m; diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c index f6127ba873b..d18f416a07c 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c @@ -3,7 +3,7 @@ #include #include "../../tree-vect.h" -#define N 8 +#define N 32 #define OFF 4 /* Check handling of accesses for which the "initial condition" -