From: Martin Liska Date: Thu, 26 Mar 2020 09:12:57 +0000 (+0100) Subject: Skip test for non-x86 targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6730f06420106af01e26414f046626b5292565d;p=gcc.git Skip test for non-x86 targets. PR testsuite/94334 * gcc.dg/lto/pr94271_0.c: Skip for non-x86 targets and add ifunc effective target. * gcc.target/i386/pr81213-2.c: Add ifunc effective target. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ea31955bbe2..65f32a3eb1d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2020-03-26 Martin Liska + + PR testsuite/94334 + * gcc.dg/lto/pr94271_0.c: Skip for non-x86 targets + and add ifunc effective target. + * gcc.target/i386/pr81213-2.c: Add ifunc effective target. + 2020-03-26 Jakub Jelinek PR debug/94281 diff --git a/gcc/testsuite/gcc.dg/lto/pr94271_0.c b/gcc/testsuite/gcc.dg/lto/pr94271_0.c index 2ce7d65411a..e3c3fa17ea0 100644 --- a/gcc/testsuite/gcc.dg/lto/pr94271_0.c +++ b/gcc/testsuite/gcc.dg/lto/pr94271_0.c @@ -1,5 +1,7 @@ /* PR lto/94271 */ +/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */ /* { dg-lto-do link } */ +/* { dg-require-ifunc "" } */ int a; diff --git a/gcc/testsuite/gcc.target/i386/pr81213-2.c b/gcc/testsuite/gcc.target/i386/pr81213-2.c index a80622cb184..ec9138018ea 100644 --- a/gcc/testsuite/gcc.target/i386/pr81213-2.c +++ b/gcc/testsuite/gcc.target/i386/pr81213-2.c @@ -1,3 +1,4 @@ +/* { dg-require-ifunc "" } */ __attribute__((target_clones("avx","arch=slm","arch=core-avx2","default"))) static int foo ()