[gcc(refs/users/marxin/heads/PR94334)] Skip test for non-x86 targets.

Martin Liska marxin@gcc.gnu.org
Thu Mar 26 09:11:43 GMT 2020


https://gcc.gnu.org/g:3aece9a2f2eed08c91d5f52d5481701d01bc3a90

commit 3aece9a2f2eed08c91d5f52d5481701d01bc3a90
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Mar 26 10:07:06 2020 +0100

    Skip test for non-x86 targets.
    
    gcc/testsuite/ChangeLog:
    
    2020-03-26  Martin Liska  <mliska@suse.cz>
    
            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:
---
 gcc/testsuite/gcc.dg/lto/pr94271_0.c      | 2 ++
 gcc/testsuite/gcc.target/i386/pr81213-2.c | 1 +
 2 files changed, 3 insertions(+)

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 ()


More information about the Gcc-cvs mailing list