summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/vect-73.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-73.c')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-73.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-73.c b/gcc/testsuite/gcc.dg/vect/vect-73.c
index 19d8d24e0ac..ee3c6e60e15 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-73.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-73.c
@@ -3,15 +3,13 @@
#include <stdarg.h>
#include "tree-vect.h"
-#define N 128
+#define N 16
int ic[N*2];
-int ib[N];
+int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
#define ia (ic+N)
-volatile int y = 0;
-
__attribute__ ((noinline))
int main1 ()
{
@@ -19,13 +17,6 @@ int main1 ()
for (i = 0; i < N; i++)
{
- ib[i] = i*3;
- if (y)
- abort ();
- }
-
- for (i = 0; i < N; i++)
- {
ia[i] = ib[i];
}
@@ -33,7 +24,7 @@ int main1 ()
for (i = 0; i < N; i++)
{
if (ia[i] != ib[i])
- abort ();
+ abort();
}
return 0;