This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Apr 2016 23:47:06 +0200
- Subject: [committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581)
- Authentication-results: sourceware.org; auth=none
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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 <jakub@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