re PR target/36510 (gcc.dg/vect/costmodel/ppc failures)
authorIra Rosen <irar@il.ibm.com>
Thu, 26 Jun 2008 06:09:49 +0000 (06:09 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Thu, 26 Jun 2008 06:09:49 +0000 (06:09 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c

index dc56129..6a6d1db 100644 (file)
@@ -1,3 +1,11 @@
+2008-06-26  Ira Rosen  <irar@il.ibm.com>
+
+       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  <pault@gcc.gnu.org>
 
        PR fortran/36526
index 3c811f0..d9ea5d1 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdarg.h>
 #include "../../tree-vect.h"
 
-#define N 32
+#define N 
 
 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 <N/2; i++)
+  for (i = 0; i < N; i++)
     {
       if (tmp.e.k[i] != 8)
         abort ();
index df30caa..7fc2594 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdarg.h>
 #include "../../tree-vect.h"
 
-#define N 20
+#define N 11 
 
 struct s{
   int m;
index f6127ba..d18f416 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdarg.h>
 #include "../../tree-vect.h"
 
-#define N 8
+#define N 32 
 #define OFF 4
 
 /* Check handling of accesses for which the "initial condition" -