diff gcc/testsuite/g++.dg/vect/pr70729.cc @ 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/g++.dg/vect/pr70729.cc	Fri Oct 27 22:46:09 2017 +0900
+++ b/gcc/testsuite/g++.dg/vect/pr70729.cc	Thu Oct 25 07:37:49 2018 +0900
@@ -2,7 +2,7 @@
 // { dg-additional-options "-ffast-math -fopenmp-simd" }
 // { dg-additional-options "-msse2" { target x86_64-*-* i?86-*-* } }
 
-inline void* my_alloc (__SIZE_TYPE__ bytes) {void *ptr; __builtin_posix_memalign (&ptr, bytes, 128);}
+inline void* my_alloc (__SIZE_TYPE__ bytes) {void *ptr; __builtin_posix_memalign (&ptr, bytes, 128); return 0; }
 inline void my_free (void* memory) {__builtin_free (memory);}
 
 template <typename T>
@@ -70,4 +70,4 @@
     }
 }
  
-// { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target x86_64-*-* i?86-*-* } } }
+// { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { xfail *-*-* } } }