Hi! This fixes this testcase when using assembler that doesn't support AVX512F, which is now required for simd clones (previously it has been just avx2 and thus avx2 effective target has been sufficient).
Regtested on x86_64-linux, committed to trunk. 2016-04-07 Jakub Jelinek <ja...@redhat.com> PR testsuite/70581 * gcc.dg/lto/simd-function_0.c: New test. --- gcc/testsuite/gcc.dg/lto/simd-function_0.c.jj 2015-10-29 09:14:35.000000000 +0100 +++ gcc/testsuite/gcc.dg/lto/simd-function_0.c 2016-04-07 18:50:46.975624860 +0200 @@ -1,4 +1,5 @@ /* { dg-lto-do link } */ +/* { dg-require-effective-target vect_simd_clones } */ /* { dg-require-effective-target avx2 } */ /* { dg-lto-options { { -fopenmp-simd -O3 -ffast-math -mavx2 -flto -flto-partition=max } } } */ Jakub