Commit 8cdf0bd0 by Ira Rosen Committed by Ira Rosen

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
parent f3d14ed5
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> 2008-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36526 PR fortran/36526
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdarg.h> #include <stdarg.h>
#include "../../tree-vect.h" #include "../../tree-vect.h"
#define N 32 #define N 5
struct t{ struct t{
int k[N]; int k[N];
...@@ -17,20 +17,20 @@ struct s{ ...@@ -17,20 +17,20 @@ struct s{
struct t d; /* aligned (offset 2NB) */ struct t d; /* aligned (offset 2NB) */
struct t e; /* unaligned (offset 2N+4N+4 B) */ struct t e; /* unaligned (offset 2N+4N+4 B) */
}; };
int main1 () int main1 ()
{ {
int i; int i;
struct s tmp; struct s tmp;
/* unaligned */ /* unaligned */
for (i = 0; i < N/2; i++) for (i = 0; i < N; i++)
{ {
tmp.e.k[i] = 8; tmp.e.k[i] = 8;
} }
/* check results: */ /* check results: */
for (i = 0; i <N/2; i++) for (i = 0; i < N; i++)
{ {
if (tmp.e.k[i] != 8) if (tmp.e.k[i] != 8)
abort (); abort ();
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdarg.h> #include <stdarg.h>
#include "../../tree-vect.h" #include "../../tree-vect.h"
#define N 20 #define N 11
struct s{ struct s{
int m; int m;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdarg.h> #include <stdarg.h>
#include "../../tree-vect.h" #include "../../tree-vect.h"
#define N 8 #define N 32
#define OFF 4 #define OFF 4
/* Check handling of accesses for which the "initial condition" - /* Check handling of accesses for which the "initial condition" -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment