Index: gcc/gcc/testsuite/gcc.dg/vect/vect-92.c |
diff --git a/gcc/gcc/testsuite/gcc.dg/vect/vect-92.c b/gcc/gcc/testsuite/gcc.dg/vect/vect-92.c |
index 94fff98000290c03b1be8198ddf988ef5d9ffcce..3a64e251cb2a9b94689fe2893e502d62d723705e 100644 |
--- a/gcc/gcc/testsuite/gcc.dg/vect/vect-92.c |
+++ b/gcc/gcc/testsuite/gcc.dg/vect/vect-92.c |
@@ -5,9 +5,9 @@ |
#define N 256 |
-float pa[N] __attribute__ ((__aligned__(16))); |
-float pb[N] __attribute__ ((__aligned__(16))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57}; |
-float pc[N] __attribute__ ((__aligned__(16))) = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}; |
+float pa[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))); |
+float pb[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57}; |
+float pc[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}; |
/* Check handling of unaligned accesses when the misalignment is |
known at compile time and different accesses have the same |
@@ -22,13 +22,13 @@ main1 () |
{ |
int i; |
- for (i = 0; i < 5; i++) |
+ for (i = 0; i < 10; i++) |
{ |
pa[i+1] = pb[i+1] * pc[i+1]; |
} |
/* check results: */ |
- for (i = 0; i < 5; i++) |
+ for (i = 0; i < 10; i++) |
{ |
if (pa[i+1] != (pb[i+1] * pc[i+1])) |
abort (); |
@@ -42,13 +42,13 @@ main2 () |
{ |
int i; |
- for (i = 0; i < 6; i++) |
+ for (i = 0; i < 12; i++) |
{ |
pa[i+1] = pb[i+1] * pc[i+1]; |
} |
/* check results: */ |
- for (i = 0; i < 6; i++) |
+ for (i = 0; i < 12; i++) |
{ |
if (pa[i+1] != (pb[i+1] * pc[i+1])) |
abort (); |