Hello! These tests require vect_simd_clones effective target, as the target should be able to compile AVX clones.
2014-05-27 Uros Bizjak <ubiz...@gmail.com> * testsuite/libgomp.fortran/declare-simd-1.f90: Require vect_simd_clones effective target. Remove dg-additional-options directives. * testsuite/libgomp.fortran/declare-simd-2.f90: Ditto. Tested on x86_64-linux-gnu CentOS 5. Uros.
Index: testsuite/libgomp.fortran/declare-simd-1.f90 =================================================================== --- testsuite/libgomp.fortran/declare-simd-1.f90 (revision 210956) +++ testsuite/libgomp.fortran/declare-simd-1.f90 (working copy) @@ -1,6 +1,5 @@ ! { dg-options "-fno-inline" } -! { dg-additional-options "-msse2" { target sse2_runtime } } -! { dg-additional-options "-mavx" { target avx_runtime } } +! { dg-require-effective-target vect_simd_clones } module declare_simd_1_mod contains Index: testsuite/libgomp.fortran/declare-simd-2.f90 =================================================================== --- testsuite/libgomp.fortran/declare-simd-2.f90 (revision 210956) +++ testsuite/libgomp.fortran/declare-simd-2.f90 (working copy) @@ -1,8 +1,7 @@ ! { dg-do run } ! { dg-options "-fno-inline" } - ! { dg-additional-sources declare-simd-3.f90 } -! { dg-additional-options "-msse2" { target sse2_runtime } } -! { dg-additional-options "-mavx" { target avx_runtime } } +! { dg-additional-sources declare-simd-3.f90 } +! { dg-require-effective-target vect_simd_clones } module declare_simd_2_mod contains