Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line diff
--- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c Thu Oct 25 07:37:49 2018 +0900 @@ -10,8 +10,6 @@ unsigned short b; } s; -volatile int y = 0; - __attribute__ ((noinline)) int main1 (s *arr) { @@ -48,8 +46,7 @@ { arr[i].a = i; arr[i].b = i * 2; - if (y) /* Avoid vectorization. */ - abort (); + asm volatile ("" ::: "memory"); } main1 (arr);