summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/vect-80-big-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-80-big-array.c')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-80-big-array.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-80-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-80-big-array.c
index 7ab9ada6a03..0baf4d2859b 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-80-big-array.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-80-big-array.c
@@ -13,8 +13,6 @@ float fc[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
the expression that represents the first location accessed - is
more involved than just an ssa_name. */
-volatile int y = 0;
-
__attribute__ ((noinline)) int
main1 (float * __restrict__ pa, float * __restrict__ pb, float *__restrict__ pc)
{
@@ -24,14 +22,12 @@ main1 (float * __restrict__ pa, float * __restrict__ pb, float *__restrict__ pc)
{
fb[i] = i;
fc[i] = 0.5+i;
- if (y)
- abort ();
+ asm volatile ("" ::: "memory");
}
for (; i < N+4; i++)
{
fb[i] = i;
- if (y)
- abort ();
+ asm volatile ("" ::: "memory");
}
for (i = 0; i < N; i++)